Database migration issue
sachittandukar opened this issue · 4 comments
sachittandukar commented
Whenever I try to migrate the database, following issue shows up.
ALTER TABLE sylius_channel_currencies DROP FOREIGN KEY FK_AE491F9372F5A1AA
Migration 20180213033415 failed during Execution. Error An exception occurred while executing 'ALTER TABLE sylius_channel_currencies DROP FOREIGN KEY FK_AE491F9372F5A1AA':
sachittandukar commented
Is this plugin still maintained?
Deleted user commented
Hi @sachittandukar , sorry for the delay.
We tried to reproduce the error but couldn't. Do you want to install the plugin in production enviroment?
Can you share us the project?
sachittandukar commented
Actually, I am working in dev environment and issue shows up when you generate migration files
php bin/console doctrine:migrations:diff
and trying to migrate using the following command:
php bin/console doctrine:migrations:migrate
The only workaround is to force schema update. Otherwise, I keep getting above mentioned error message.
Deleted user commented
hi @sachittandukar. Can you try to reproduce the error again? We released a new version.