MultiSafepay / Magento2Msp

MultiSafepay plugin for Magento 2 (Deprecated) see: https://github.com/MultiSafepay/magento2
Open Software License 3.0
29 stars 25 forks source link

Table 'sales_order_grid' not updated #74

Closed GuidoHub closed 6 years ago

GuidoHub commented 6 years ago

You have an update script that needs to add column 'multisafepay_status' to table 'sales_order_grid' but this isn't working in my enviroment, Magento 2.1.14 and I am using table prefix.

I also see that you are using file UpgradeData.php but I would expect upgradeSchema.php for adding the column and upgradeData for adding the new attribute.

Jasper-MultiSafepay commented 6 years ago

Thanks for reporting this. Will be looked at and included in the current sprint. I'll check if we can include the table prefix solution asap

juho-jaakkola commented 6 years ago

I have this same problem. My tables are not using a prefix. My first suspicion was the the upgrade script is not compatible with split database.

@GuidoHub Is your site using single database or a split one?

GuidoHub commented 6 years ago

@juho-jaakkola I am using a single database. But I think it's because the update statement is not in script file upgradeSchema.php but in file upgradeData.php

Jasper-MultiSafepay commented 6 years ago

We released 1.6.0 which solves this issue.