Calling Developers!
We are reenergizing our code contribution process!
Learn MoreHey guys,
I have a question regarding migrations.
We have the problem, that our custom propel migrations are not populated on PaaS.
We have removed https://github.com/spryker-shop/b2b-demo-shop/blob/8c21e264eb4318b6605465762c2ea00413ba8890/config/install/EU/production.yml#L17, but still no Migrations found:
2022-06-09T10:22:13.829+02:00 Command propel-diff [vendor/bin/console propel:diff -vvv --no-ansi] 2022-06-09T10:22:13.829+02:00 --------------------------------------------- 2022-06-09T10:22:13.829+02:00 [33mStore[39m: [32mDE[39m | [33mEnvironment[39m: [32mdocker.stage[39m 2022-06-09T10:22:13.829+02:00 [32mGenerate diff for Propel2[39m 2022-06-09T10:22:15.903+02:00 312 tables found in all databases. 2022-06-09T10:22:15.903+02:00 Comparing models... 2022-06-09T10:22:15.903+02:00 Same XML and database structures for all datasource - no diff to generate 2022-06-09T10:22:15.903+02:00 // Command propel-diff finished in 3.94s, exit code 0 2022-06-09T10:22:15.903+02:00 2022-06-09T10:22:15.903+02:00 Command show_migrations [ls -al ./src/Orm/Propel/Migration_*/*.php 2>/dev/null || true] 2022-06-09T10:22:15.903+02:00 -------------------------------------------------------------------------------- 2022-06-09T10:22:15.903+02:00 2022-06-09T10:22:15.903+02:00 2022-06-09T10:22:15.903+02:00 // Command show_migrations finished in 0s, exit code 0 2022-06-09T10:22:15.903+02:00 2022-06-09T10:22:15.903+02:00 Command propel-migrate [vendor/bin/console propel:migrate -vvv --no-ansi] 2022-06-09T10:22:15.903+02:00 --------------------------------------------- 2022-06-09T10:22:15.903+02:00 [33mStore[39m: [32mDE[39m | [33mEnvironment[39m: [32mdocker.stage[39m 2022-06-09T10:22:15.903+02:00 [32mMigrate database[39m 2022-06-09T10:22:15.903+02:00 All migrations were already executed - nothing to migrate. 2022-06-09T10:22:15.903+02:00 // Command propel-migrate finished in 0.17s, exit code 0
Our migrations are placed here: src/Orm/Propel/Migration_mysql/PropelMigration_1652710087.php
Do I miss anything here?
Please check if you have migrations ignored like this - https://github.com/spryker-shop/suite/blob/master/.dockerignore#L21.