Open skylar-cognella opened 3 years ago
While I haven't heard back, I was able to workaround this by moving db/migrate/20210715175216_manage_account_banks_backfill.rb out of that folder, running db:migrate:predeploy and letting it complete all the predeploy migrations, moving it back in, and running db:migrate:predeploy again. So something with the order of the migration scripts was causing this to fail.
Hopefully by running it last (out of order) that doesn't cause any issues - haven't seen any issues so far though!
I also ran into the same problem. I think that perhaps db/migrate/20210715175216_manage_account_banks_backfill.rb
depends on the later migration
db/migrate/20210812210129_add_singleton_column.rb
.
Yes, exec rake db:migrate:up VERSION=20210812210129
then running predeploy again fixed this issue for me.
Summary:
We're testing canvas-lms/stable from 2021-10-21 and running into a db:migration error for ManageAccountBanksBackfill.
Steps to reproduce:
Already tried clearing redis cache and re-running migrate with no luck. Looking forward to any help on what the issue could be. Any files we can tweak to get passed this migration error? Thanks!
Behavior:
Error returned: