ipld-eth-server/db/migrations/00033_add_times_validated.sql

13 lines
310 B
MySQL
Raw Normal View History

2020-04-02 04:19:49 +00:00
-- +goose Up
ALTER TABLE eth.header_cids
ADD COLUMN times_validated INTEGER NOT NULL DEFAULT 1;
2020-04-02 04:19:49 +00:00
ALTER TABLE btc.header_cids
ADD COLUMN times_validated INTEGER NOT NULL DEFAULT 1;
2020-04-02 04:19:49 +00:00
-- +goose Down
ALTER TABLE btc.header_cids
DROP COLUMN times_validated;
ALTER TABLE eth.header_cids
DROP COLUMN times_validated;