Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE IF EXISTS ONLY "sources" ADD CONSTRAINT "sources_name_key" UNIQUE ("name");
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE IF EXISTS ONLY "sources" DROP CONSTRAINT IF EXISTS "sources_name_key";
8 changes: 5 additions & 3 deletions test/cmd/db_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,12 @@ var statusOutputInit = `1 init (⏳ pending)
10 ratelimit (⏳ pending)
11 event_unique_id (⏳ pending)
1762423418 source_config (⏳ pending)
1786435500 drop_source_unique_name_constraint (⏳ pending)
Summary:
Current version: 0
Dirty: false
Executed: 0
Pending: 12
Pending: 13
`

var statusOutputDone = `1 init (✅ executed)
Expand All @@ -40,10 +41,11 @@ var statusOutputDone = `1 init (✅ executed)
10 ratelimit (✅ executed)
11 event_unique_id (✅ executed)
1762423418 source_config (✅ executed)
1786435500 drop_source_unique_name_constraint (✅ executed)
Summary:
Current version: 1762423418
Current version: 1786435500
Dirty: false
Executed: 12
Executed: 13
Pending: 0
`

Expand Down
Loading