Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Commit

Permalink
migration 102 has moved forward to v2.33.3 as migration 93
Browse files Browse the repository at this point in the history
This makes initial v3 deployments easier, by not having to install the
uuid-ossp extension only to drop it immediately.

This extension is not present in sql/schema.sql, as if someone (or a
migration) had already removed it.
  • Loading branch information
karenetheridge committed Aug 9, 2019
1 parent fa3c1d8 commit da0893f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
2 changes: 1 addition & 1 deletion sql/migrations/0100-assert-safe-for-v3.sql
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
do $$ begin
assert (select max(id) from migration) = 92, 'not all v2 migrations have been run; cannot proceed with v3 upgrade';
assert (select max(id) from migration) = 93, 'not all v2 migrations have been run; cannot proceed with v3 upgrade';
end; $$;

SELECT run_migration(100, '');
11 changes: 0 additions & 11 deletions sql/migrations/0102-drop-uuid-ossp.sql

This file was deleted.

0 comments on commit da0893f

Please sign in to comment.