Skip to content

Commit

Permalink
add idempotency to migration
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoPeters1024 committed Mar 7, 2022
1 parent 78aa303 commit 6709d5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Application/Migration/1637606752-initial-migration.sql
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ CREATE TABLE IF NOT EXISTS routes (
path TEXT NOT NULL UNIQUE
);

ALTER TABLE routes DROP CONSTRAINT routes_url_key;
ALTER TABLE routes DROP CONSTRAINT IF EXISTS routes_url_key;

0 comments on commit 6709d5c

Please sign in to comment.