tactilenews / 100eyes

Dialogtechnologie für den Pivot to People invented by tactile.news GmbH
MIT License
10 stars 1 forks source link

Fix migrations in ansible installation playbook #2006

Closed mattwr18 closed 2 months ago

mattwr18 commented 2 months ago

For some reason, running the schema migrations and data migrations together causing them to fail and requires an addtional step to ssh into every instance and run the data migrations after the schema migrations have run successfully. The data migrations many times rely on the schema being migrated, but it was my understanding that the db:migrate:with_data accounted for this. In practice, however, it reliably fails every time.

mattwr18 commented 2 months ago

@soey also nothing to review. This blows up when I deploy so one needs to add a data migration and then deploy to test.