forked from cerc-io/ipld-eth-server
remove diff unique connstraint, overwrite as diff
This commit is contained in:
@@ -8,7 +8,7 @@ CREATE TABLE eth.state_cids (
|
||||
state_path BYTEA,
|
||||
node_type INTEGER,
|
||||
diff BOOLEAN NOT NULL DEFAULT FALSE,
|
||||
UNIQUE (header_id, state_path, diff)
|
||||
UNIQUE (header_id, state_path)
|
||||
);
|
||||
|
||||
-- +goose Down
|
||||
|
||||
@@ -8,7 +8,7 @@ CREATE TABLE eth.storage_cids (
|
||||
storage_path BYTEA,
|
||||
node_type INTEGER NOT NULL,
|
||||
diff BOOLEAN NOT NULL DEFAULT FALSE,
|
||||
UNIQUE (state_id, storage_path, diff)
|
||||
UNIQUE (state_id, storage_path)
|
||||
);
|
||||
|
||||
-- +goose Down
|
||||
|
||||
Reference in New Issue
Block a user