Convert existing migrations from timestamp to versioned

This commit is contained in:
Edvard
2019-01-25 11:44:05 +01:00
parent 0a96a366d3
commit bbb9260d13
70 changed files with 0 additions and 0 deletions
@@ -0,0 +1,7 @@
-- +goose Up
ALTER TABLE blocks
ADD CONSTRAINT node_id_block_number_uc UNIQUE (block_number, node_id);
-- +goose Down
ALTER TABLE blocks
DROP CONSTRAINT node_id_block_number_uc;