rent
ReferenceCommand line

rent migrate validate

Run validation in review and CI without database credentials:

Validate the default directory

rent migrate validate
Valid: 4 migrations verified.

For a nonstandard directory:

Validate another directory

rent migrate validate --directory database/migrations

Rent fails if a SQL file changed without a refreshed manifest, two files reuse a version, or a filename is not portable.

On this page