odiseoteam / SyliusVendorPlugin

This is a Sylius Plugin that add vendors (brands) to your store. The vendors is an entity that sells products and are fully customizable by the admin.
https://odiseo.io
MIT License
59 stars 21 forks source link

Database migration issue #5

Closed sachittandukar closed 5 years ago

sachittandukar commented 6 years ago

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 6 years ago

Is this plugin still maintained?

odiseoteam commented 6 years ago

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 6 years ago

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.

odiseoteam commented 6 years ago

hi @sachittandukar. Can you try to reproduce the error again? We released a new version.