Skip to content

Commit

Permalink
Merge pull request #164 from makerdao/revert-074
Browse files Browse the repository at this point in the history
Revert migration 074
  • Loading branch information
b-pmcg authored Apr 8, 2024
2 parents 13ba4f9 + 577ed76 commit f8569f5
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions migrations/075-unique-lock-revert.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
-- THIS SHOULD NOT BE MERGED INTO MASTER
--Rolls back 074
-- remove the new constraint that was added in 074
ALTER TABLE dschief.delegate_lock DROP CONSTRAINT delegate_lock_key;

-- add back the previous constraint
ALTER TABLE dschief.delegate_lock ADD CONSTRAINT delegate_lock_log_index_tx_id_key UNIQUE (log_index, tx_id);

0 comments on commit f8569f5

Please sign in to comment.