You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
currently the scripts/bash_helpers/migrations.sh bash helper script can find and run the next schema migration, but won't run all of the pending ones if the user is upgrading across multiple versions.
for example:
If you're on schema version 1 and there are migrations for version 2 & 3 it will only run the one for version 2
Desired behavior
If you're on schema version 1 and there are migrations for version 2 & 3 it will run the migration for 2 & then the migration for 3
Implementation thoughts
I'm imagining something like a run_migrations function with a while loop in it that keeps calling run_next_migration_file_if_present and incrementing a number until there's no more migrations to run. That's not quite how it'll work, but something along those lines.
The text was updated successfully, but these errors were encountered:
currently the
scripts/bash_helpers/migrations.sh
bash helper script can find and run the next schema migration, but won't run all of the pending ones if the user is upgrading across multiple versions.for example:
If you're on schema version 1 and there are migrations for version 2 & 3 it will only run the one for version 2
Desired behavior
If you're on schema version 1 and there are migrations for version 2 & 3 it will run the migration for 2 & then the migration for 3
Implementation thoughts
I'm imagining something like a
run_migrations
function with a while loop in it that keeps callingrun_next_migration_file_if_present
and incrementing a number until there's no more migrations to run. That's not quite how it'll work, but something along those lines.The text was updated successfully, but these errors were encountered: