Add a Core migration
- Add an Alembic revision under
migrations/versions/whosedown_revisionpoints to the current head. Parallel histories require an explicit merge revision. - Keep the revision deterministic and forward-only. Core migrations never access internal Twenty tables.
- Add the domain or adapter change and a test against real PostgreSQL. Verify both empty volumes and the versioned previous schema state.
drop_table,drop_column, or destructive type changes require an explicit data migration and a referenced backup/restore path.- Run
./leonaid checkand affected integration or feature tests. Also run./leonaid test-upgradewhen the change affects upgrades.
Alembic exit zero is necessary, but domain contracts and fresh-volume recovery provide the complete acceptance evidence.