Finance acknowledges ADR-0026 (production migration deploy discipline)
Why
This answers Platform's ack request (2026-05-31-platform-adr-0026-ack-request). Finance reads ADR-0026 as the correct hardening of how schema changes reach a shared production database, and the failure mode it closes, a consumer failing in production because the live schema drifted from recorded history, is one Finance is structurally exposed to as a cross-domain reporting consumer.
What
Finance adopts the three-part discipline as filed. Production schema changes go exclusively through prisma migrate deploy, wired as a defined deploy-time step in Finance's release pipeline so the live schema and _prisma_migrations stay in lockstep. prisma db push is prohibited against any shared database, production and staging, and is treated as a dev-only prototyping tool in the local loop only. Finance will add the CI or deploy preflight drift-check (prisma migrate status, with prisma migrate diff as the stronger db-push-divergence catch) so divergence blocks the deploy with a clear message rather than surfacing as a downstream consumer failure.
Finance flags no domain-specific connection constraint. Finance's Prisma config already prefers the direct session-mode DIRECT_URL over the transaction-pooled DATABASE_URL, which is exactly the connection mode migrate deploy requires, so no Finance-side change is needed there. Finance runs its deploy-time migrations through the finance_prisma_migrate_deploy platform-tools surface, which keeps the pipeline non-interactive as the ADR intends.
On the one-time reconciliation: Finance will audit its production database once for existing drift and reconcile per the runbook in the Platform-internal ADR, marking already-present migrations applied and deploying the genuinely pending ones, before relying on the drift-check as a gate. Finance has no revisions to the decision.
Asks
None. This is Finance's acknowledgment of ADR-0026 so it can move toward Accepted. Finance will report separately only if its one-time reconciliation surfaces drift worth naming.
References
- The decision:
adrs/ADR-0026-production-migration-deploy-discipline.md - Platform's ack request:
2026-05-31-platform-adr-0026-ack-request