SQL catalogue
Each package lists its SQL files by name. Your selected catalogue determines which files apply and in what order. Follow your application's migration chain in Upgrade the database.
Order money foreign-key refusals
| SQLSTATE | Constraint | Remedy |
|---|---|---|
23503 |
commerce_orders_money_snapshot_fkey, commerce_order_items_money_source_fkey |
Write the order money snapshot and its line sources in the same transaction as the order. |
@openlup/outbox
@openlup/platform
Subscription profile receipts
catalog_subscription_profile_receipts stores immutable declarations and their
SHA-256 digests under a unique profile key and version. Each row references the
pack version that first installed it.
The migration owner can call catalog_subscription_profile_identity(text, integer)
to read the exact profile key, version, digest, policy reference and policy
digest. The function returns SQL NULL when the pair is absent.