2019-02-11 21:11:36 +00:00
|
|
|
-- +goose Up
|
|
|
|
CREATE TABLE maker.vow_vat (
|
|
|
|
id SERIAL PRIMARY KEY,
|
|
|
|
block_number BIGINT,
|
|
|
|
block_hash TEXT,
|
|
|
|
vat TEXT
|
|
|
|
);
|
|
|
|
|
|
|
|
CREATE TABLE maker.vow_cow (
|
|
|
|
id SERIAL PRIMARY KEY,
|
|
|
|
block_number BIGINT,
|
|
|
|
block_hash TEXT,
|
|
|
|
cow TEXT
|
|
|
|
);
|
|
|
|
|
|
|
|
CREATE TABLE maker.vow_row (
|
|
|
|
id SERIAL PRIMARY KEY,
|
|
|
|
block_number BIGINT,
|
|
|
|
block_hash TEXT,
|
|
|
|
row TEXT
|
|
|
|
);
|
|
|
|
|
|
|
|
CREATE TABLE maker.vow_sin (
|
|
|
|
id SERIAL PRIMARY KEY,
|
|
|
|
block_number BIGINT,
|
|
|
|
block_hash TEXT,
|
|
|
|
sin TEXT
|
|
|
|
);
|
|
|
|
|
|
|
|
CREATE TABLE maker.vow_ash (
|
|
|
|
id SERIAL PRIMARY KEY,
|
|
|
|
block_number BIGINT,
|
|
|
|
block_hash TEXT,
|
|
|
|
ash TEXT
|
|
|
|
);
|
|
|
|
|
|
|
|
CREATE TABLE maker.vow_wait (
|
|
|
|
id SERIAL PRIMARY KEY,
|
|
|
|
block_number BIGINT,
|
|
|
|
block_hash TEXT,
|
|
|
|
wait TEXT
|
|
|
|
);
|
|
|
|
|
|
|
|
CREATE TABLE maker.vow_sump (
|
|
|
|
id SERIAL PRIMARY KEY,
|
|
|
|
block_number BIGINT,
|
|
|
|
block_hash TEXT,
|
|
|
|
sump TEXT
|
|
|
|
);
|
|
|
|
|
|
|
|
CREATE TABLE maker.vow_bump (
|
|
|
|
id SERIAL PRIMARY KEY,
|
|
|
|
block_number BIGINT,
|
|
|
|
block_hash TEXT,
|
|
|
|
bump TEXT
|
|
|
|
);
|
|
|
|
|
|
|
|
CREATE TABLE maker.vow_hump (
|
|
|
|
id SERIAL PRIMARY KEY,
|
|
|
|
block_number BIGINT,
|
|
|
|
block_hash TEXT,
|
|
|
|
hump TEXT
|
|
|
|
);
|
|
|
|
|
|
|
|
-- +goose Down
|
2019-02-11 21:32:38 +00:00
|
|
|
DROP TABLE maker.vow_vat;
|
|
|
|
DROP TABLE maker.vow_cow;
|
|
|
|
DROP TABLE maker.vow_row;
|
|
|
|
DROP TABLE maker.vow_sin;
|
|
|
|
DROP TABLE maker.vow_ash;
|
|
|
|
DROP TABLE maker.vow_wait;
|
|
|
|
DROP TABLE maker.vow_sump;
|
|
|
|
DROP TABLE maker.vow_bump;
|
|
|
|
DROP TABLE maker.vow_hump;
|