rent migrate dev
rent migrate dev is the shortest feedback loop while you are editing an RSL schema. It inspects the database, creates a checksummed migration, applies every pending migration, then inspects again and requires an empty diff.
Apply a schema edit
rent migrate dev --name add_post_summaryMigration: add_post_summary
Created ./rent/migrations/20260910022456_add_post_summary.sql (1 change)
Applied 20260910022456_add_post_summary (1 statement)
Verified: Database matches the RSL schema.Use this after adding a field, table, relationship, index, or constraint during local development. Commit both the RSL schema edit and the generated SQL migration.
Run it again
rent migrate dev --name add_post_summaryReady: Database already matches the RSL schema.The second run is deliberately a no-op. That fixed-point check catches migrations that applied successfully but did not create the requested catalog state.
Approve a destructive local change
rent migrate dev --name replace_legacy_slug --allow-destructiveWithout --allow-destructive, Rent stops before writing or applying a migration that drops or destructively changes an object. Review rent migrate preflight first.
Use dev for local iteration. Use plan, review the SQL, and then use apply for controlled deployment workflows.