Remove extraneous db constraint
This commit is contained in:
parent
ce91b0d9e6
commit
3d6c973f6e
@ -10,8 +10,7 @@ CREATE TABLE full_sync_logs
|
||||
topic1 VARCHAR(66),
|
||||
topic2 VARCHAR(66),
|
||||
topic3 VARCHAR(66),
|
||||
data TEXT,
|
||||
CONSTRAINT full_sync_log_uc UNIQUE (block_number, index)
|
||||
data TEXT
|
||||
);
|
||||
|
||||
|
||||
|
@ -1,7 +1,4 @@
|
||||
-- +goose Up
|
||||
ALTER TABLE full_sync_logs
|
||||
DROP CONSTRAINT full_sync_log_uc;
|
||||
|
||||
ALTER TABLE full_sync_logs
|
||||
ADD COLUMN receipt_id INT;
|
||||
|
||||
@ -18,6 +15,3 @@ ALTER TABLE full_sync_logs
|
||||
|
||||
ALTER TABLE full_sync_logs
|
||||
DROP COLUMN receipt_id;
|
||||
|
||||
ALTER TABLE full_sync_logs
|
||||
ADD CONSTRAINT full_sync_log_uc UNIQUE (block_number, index);
|
||||
|
Loading…
Reference in New Issue
Block a user