Closed fashxp closed 4 years ago
composer is not responsible of executing migrations. This should be sorted in a proper deployment procedure like: https://github.com/w-vision/pimcore-deployer/blob/master/deploy.sample.php#L78
I also always remove the composer script where Pimcore executes core migrations. That is completely wrong. Composer is about handling dependencies, not deployment tasks!
What do you think of a configuration in app/config/config.yml
to set if migrations should be executed automatically on composer update - be it core or bundle migrations?
right now, composer update updates composer dependencies, but potential migrations are not executed - and therefor project might be broken unless migrations are executed.