Use provider-local SQL and Go migrations, injected slog logging, and PostgreSQL session locking. Exercise timestamp migration flows and failures with SQLite and PostgreSQL, including concurrent startup, and require PostgreSQL integration coverage in CI. Refs #7
7 lines
169 B
SQL
7 lines
169 B
SQL
-- +goose Up
|
|
CREATE TABLE migration_events (version BIGINT PRIMARY KEY);
|
|
INSERT INTO migration_events (version) VALUES (7);
|
|
|
|
-- +goose Down
|
|
DROP TABLE migration_events;
|