ci: run migrations against Postgres service container in CI #64

Merged
varutasu merged 3 commits from chore/wire-migrate-into-ci into main 2026-06-02 12:01:19 -04:00

3 commits

Author SHA1 Message Date
Randall Stillwell
b79e9456b6 fix(migrations): ensure is_system_collection exists before description backfill.
Fresh CI Postgres runs initial-schema without this column (added historically
via scripts); ADD COLUMN IF NOT EXISTS makes the data migration safe on new
and existing envs.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-02 10:58:43 -05:00
Randall Stillwell
898d3973c0 fix(migrations): retimestamp scan tables after initial-schema.
Fresh CI/postgres runs failed because 1748365200000 sorted before
initial-schema. Renamed to 1779853647566 with IF NOT EXISTS guards intact.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-02 08:49:10 -05:00
Randall Stillwell
37d38de7ff ci: run migrations against Postgres service container in CI
Add a migrate job that applies node-pg-migrate against an ephemeral
Postgres 16 service container so broken migrations fail at PR time.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-02 08:47:40 -05:00