Skip to content

Commit 9b79b5f

Browse files
committed
fix(migrations): remove uniq el block hash constraint in blk tbl
1 parent a17821b commit 9b79b5f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
-- +goose Up
2+
-- +goose StatementBegin
3+
ALTER TABLE blocks DROP CONSTRAINT IF EXISTS blocks_exec_block_hash_unique;
4+
-- +goose StatementEnd
5+
6+
-- +goose Down
7+
-- +goose StatementBegin
8+
ALTER TABLE blocks ADD CONSTRAINT IF EXISTS blocks_exec_block_hash_unique UNIQUE (exec_block_hash);
9+
-- +goose StatementEnd

0 commit comments

Comments
 (0)