Skip to content

Commit

Permalink
More migration fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
cohansen committed Aug 8, 2024
1 parent 174f39e commit 95ef307
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ alter table sequencing.user_sequence
drop constraint user_sequence_workspace_id_fkey,
drop column workspace_id;

drop trigger set_timestamp on sequencing.workspace;
drop table sequencing.workspace;

call migrations.mark_migration_rolled_back('9');
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,5 @@ values ('Workspace 1', 'Aerie Legacy');

update sequencing.user_sequence
set workspace_id = 1;

call migrations.mark_migration_applied('9');
1 change: 1 addition & 0 deletions deployment/postgres-init-db/sql/applied_migrations.sql
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ call migrations.mark_migration_applied('5');
call migrations.mark_migration_applied('6');
call migrations.mark_migration_applied('7');
call migrations.mark_migration_applied('8');
call migrations.mark_migration_applied('9');

0 comments on commit 95ef307

Please sign in to comment.