3.0.0 schema migrations (per database)
The Prisma schema migrations this release (2.0.0 → 3.0.0) introduces, one folder per database. Reference / review copy only — these are not applied from here.
How they run
Migrations run automatically on deploy: each app's container entrypoint runs
prisma migrate deploy on rollout. Locally we run prisma migrate deploy per app by hand
(see DEPLOY-RUNBOOK.md §). Source of truth is apps/<app>/prisma/migrations/; re-copy
here if regenerated.
| Database | Migrations |
|---|---|
ark-platform | 20260221153539_migration_notifications_to_party, 20260325000000_drop_auth_table, 20260520051241_connector_routing |
ark-connector-bre | 20260224085825_create_rule_table |
ark-connector-simplekyc | 20260223013224_init |
ark-flows (ark-flows-api) | 20260519000000_init_workflow_state |
Optional
The ark-flows and ark-connector-bre databases (and their migrations) are
optional — they are only required for clients using Ark Flows and/or the
Business Rules Engine. A base deployment can skip creating those databases and
running their migrations. Clients adopting these components later will need to
update their setup and configuration to support them.
Warnings
ark-platform/20260520051241_connector_routingis destructive — itDROPsBreConfigandRule. Back upark-platformfirst; rollback does not restore them.ark-platform/20260221153539_migration_notifications_to_partyaddsNotification.partyId NOT NULLwith no default — fails ifNotificationhas rows (confirmSELECT COUNT(*) FROM dbo.Notification= 0).- New databases must already exist before
migrate deploy(it creates schemas, not databases):ark-connector-simplekyc,ark-connector-bre,ark-flows.
Excluded
ark-connector-message-media (and ark-connector-twilio) — the notification connectors
are not part of this release, so their migrations/databases are intentionally omitted.