Add embedded SQL and provider-local Go migrations with slog logging and Postgres session locking, returning Goose's Provider directly. Cover timestamp and sequential versions, failure recovery, and concurrent startup with SQLite and Postgres tests. Reuse page's Postgres CI service. Document authoring conventions and the Go template compatibility gate. Closes #7 Refs #9
7 lines
225 B
SQL
7 lines
225 B
SQL
-- +goose Up
|
|
INSERT INTO migration_events (version) VALUES (20261027114500);
|
|
INSERT INTO missing_migration_table (version) VALUES (20261027114500);
|
|
|
|
-- +goose Down
|
|
DELETE FROM migration_events WHERE version = 20261027114500;
|