Migrations: custom propel migrations are not populated on PaaS
michael.schmetter
Posts: 119 🧑🏻🚀 - Cadet
Hey 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?
Tagged:
0
Comments
-
Please check if you have migrations ignored like this - https://github.com/spryker-shop/suite/blob/master/.dockerignore#L21.
1 -
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 75 Spryker News
- 919 Developer Corner
- 779 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 34 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 25 Job Opportunities
- 3.2K 📜 Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 69 Spryker Safari Questions
- 50 Random