ReferenceCommand line
rent migrate seal
Run seal after editing a migration created by rent migrate create:
rent migrate sealSealed 3 migrations; rent.sum is current.Rent validates every filename and version, checks authored SQL safety, and atomically refreshes rent.sum. Commit
the SQL file and rent.sum together. rent migrate apply records the same checksum in the database journal, so a
later edit is reported as a modified migration.
Review destructive SQL
A draft containing a destructive statement is rejected by default:
rent migrate sealError: validating authored migration ./rent/migrations/20260909030000_remove_legacy.sql
Caused by:
migration contains destructive operations; explicit approval is requiredAfter review, acknowledge it deliberately:
rent migrate seal --allow-destructiveSealing does not connect to or modify a database. Apply the reviewed directory separately with
rent migrate apply.