-- +goose Up -- +goose StatementBegin CREATE TABLE log_post ( id TEXT NOT NULL PRIMARY KEY, log_short_id TEXT NOT NULL, time TIMESTAMP NOT NULL, kind TEXT NOT NULL, nick TEXT NOT NULL, text TEXT NOT NULL, position INT NOT NULL, ts_vector TSVECTOR NOT NULL, UNIQUE (log_short_id, position) ); -- +goose StatementEnd -- +goose Down -- +goose StatementBegin DROP TABLE log_post; -- +goose StatementEnd