gsxdsm
b6839f4f03
FN-9004: reconcile PostgreSQL project ownership defaults
Reconcile PostgreSQL project ownership defaults and schema declarations.
- Add an idempotent migration restoring the GitHub check-state project default.
- Align Drizzle project ownership defaults and composite keys with PostgreSQL.
- Cover schema declarations and upgrade migration behavior.
Files changed:
.changeset/fn-9004-project-ownership-defaults.md | 7 +
docs/storage.md | 1 +
...ema-ownership-declarations-remaining.pg.test.ts | 170 +++++++++++++++++++++
.../src/__tests__/postgres/schema-applier.test.ts | 9 +-
...04_project_ownership_default_reconciliation.sql | 13 ++
packages/core/src/postgres/schema-applier.ts | 13 +-
packages/core/src/postgres/schema/project.ts | 47 ++++--
7 files changed, 248 insertions(+), 12 deletions(-)
Fusion-Task-Id: FN-9004
Fusion-Task-Lineage: 43bb14f6-01b7-42be-a47c-7da1128f465e
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
2026-08-12 09:13:04 -07:00
..
2026-07-13 19:07:58 -07:00
2026-08-12 09:13:04 -07:00
2026-08-12 09:13:04 -07:00
2026-07-29 22:41:17 -07:00
2026-08-10 08:48:47 -07:00
2026-08-03 00:20:53 -07:00
2026-08-09 15:24:21 -07:00
2026-08-03 00:20:53 -07:00
2026-07-13 19:07:58 -07:00
2026-08-03 19:31:03 -07:00
2026-08-11 04:20:33 -07:00
2026-07-23 09:13:21 -07:00
2026-08-09 15:24:21 -07:00
2026-07-20 01:54:42 -07:00
2026-08-04 19:15:20 -07:00
2026-07-13 19:07:58 -07:00
2026-08-03 00:20:53 -07:00
2026-07-19 11:50:52 -07:00
2026-08-12 09:13:04 -07:00
2026-08-03 00:20:53 -07:00
2026-08-03 00:20:53 -07:00