Files
crowsnest/golang/assets/migrations/20250107091120_remove_responses.sql

15 lines
382 B
MySQL
Raw Normal View History

-- +goose Up
-- +goose StatementBegin
DROP TABLE IF EXISTS responses;
-- +goose StatementEnd
-- +goose Down
-- +goose StatementBegin
CREATE TABLE responses (
url VARCHAR(255) NOT NULL UNIQUE PRIMARY KEY,
content BYTEA NOT NULL,
fetchDate TIMESTAMP DEFAULT CURRENT_TIMESTAMP,
processed BOOLEAN DEFAULT FALSE
);
-- +goose StatementEnd