-- +goose Up -- +goose StatementBegin -- create storages table CREATE TABLE storages ( id SERIAL8 PRIMARY KEY, created_at timestamp NOT NULL default now(), updated_at timestamp NOT NULL default now(), is_default BOOLEAN NOT NULL default false, name VARCHAR(128) NOT NULL default '', type INT2 NOT NULL default 0, config JSONB NOT NULL default '{}' ); -- +goose StatementEnd -- +goose Down -- +goose StatementBegin DROP TABLE storages; -- +goose StatementEnd