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,15 @@
-- +goose Up
CREATE TABLE token_supply (
id SERIAL,
block_id INTEGER NOT NULL,
supply DECIMAL NOT NULL,
token_address CHARACTER VARYING(66) NOT NULL,
CONSTRAINT blocks_fk FOREIGN KEY (block_id)
REFERENCES blocks (id)
ON DELETE CASCADE
)
-- +goose Down
-- +goose Up
DROP TABLE token_supply;