Calling Developers!
We are reenergizing our code contribution process! Learn More

Migration problems with a legacy demoshop using mysql after updating modules

Options
jochen.gartner
jochen.gartner Posts: 42 🧑🏻‍🚀 - Cadet
edited June 2023 in Propel ORM

Hello everyone! We have propel migration problems with a legacy demoshop using mysql after updating a lot of modules.

Tagged:

Best Answer

  • jochen.gartner
    jochen.gartner Posts: 42 🧑🏻‍🚀 - Cadet
    Answer ✓
    Options

    turned out to be a bug or mysql incompatibilty in spryker's synchronizationBehavior, had to override on project level.

Answers

  • jochen.gartner
    jochen.gartner Posts: 42 🧑🏻‍🚀 - Cadet
    Options

    So, we are currently applying updates to an outdated legacy demoshop (last updated august 2018) running mysql instead of postgres. At some point during the update process we realized that propel:diff suddenly does weird things, see appended migration. This removing and re-applying of indexes happens with each run of propel:diff even if we propel:migrate afterwards. Has anyone come across this? Any idea what to check?

  • jochen.gartner
    jochen.gartner Posts: 42 🧑🏻‍🚀 - Cadet
    Options
  • jochen.gartner
    jochen.gartner Posts: 42 🧑🏻‍🚀 - Cadet
    Answer ✓
    Options

    turned out to be a bug or mysql incompatibilty in spryker's synchronizationBehavior, had to override on project level.