All checks were successful
continuous-integration/drone/push Build is passing
15 lines
351 B
SQL
15 lines
351 B
SQL
-- +goose Up
|
|
-- +goose StatementBegin
|
|
CREATE TABLE IF NOT EXISTS snapshot_registry (
|
|
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
|
snapshot_type TEXT NOT NULL,
|
|
table_name TEXT NOT NULL UNIQUE,
|
|
snapshot_time BIGINT NOT NULL
|
|
);
|
|
-- +goose StatementEnd
|
|
|
|
-- +goose Down
|
|
-- +goose StatementBegin
|
|
DROP TABLE snapshot_registry;
|
|
-- +goose StatementEnd
|