Files
archie/internal/infrastructure/postgres/migrations/0010_drop_import_completion.sql
T
sam 8c55b5d4e4 chore(state-store): remove the one-time SQLite import and db_path
Every install serves from Postgres, so the legacyread/legacyimport packages,
the archie-state-store import command, the boot gate that refused to serve
over unimported SQLite files, and db_path (which only located those files)
go. Migration 0010 drops the import_completion table.
2026-09-25 00:40:48 +10:00

16 lines
382 B
SQL

-- The one-time SQLite import is removed, and with it the completion record
-- that gated serving over unimported legacy files.
-- +goose Up
DROP TABLE import_completion;
-- +goose Down
CREATE TABLE import_completion (
id bigint PRIMARY KEY CHECK (id = 1),
completed_at timestamptz NOT NULL DEFAULT now(),
sources text NOT NULL,
report text NOT NULL
);