ash-data
Ash Data
State the persistence invariant that the change must preserve. Use installed AshPostgres generation and migration behavior; inspect generated changes rather than replaying archived migration history or assuming code generation only writes files.
Migrations and concurrency covers schema snapshots, constraints, atomic actions, transaction boundaries and SQL evidence.
Preserve full source records during imports, including unmapped columns. Identical reimports must be harmless; conflicting identities or values need reconciliation. A historical row count cannot prove present-day completeness. Rehearse on disposable data before the separately authorized production operation.
A limit or once-only rule on an update is an atomic validation, never
change filter(expr(...)): Ash 3.33.11 drops that filter from single-record atomic
updates (details).