rent
ReferenceCommand line

rent doctor

Use rent doctor after scaffolding, changing project paths, or diagnosing generation and migration setup. It checks configuration, Cargo metadata, schema parsing, generated ownership markers, and migration checksums.

Check the local project

rent doctor
Rent Doctor

Ready Configuration  ./rent.toml
Ready Cargo project
Ready Schema         1 entity
Ready Client         generated and current
Ready Migrations     no migration history yet
Ready Database       sqlite connection verified

Healthy: Rent project is healthy.

Include the database

For server projects, keep the live database URL in the project-root .env. Rent uses it for the connection check:

rent doctor
Rent Doctor

Ready Configuration  ./rent.toml
Ready Cargo project
Ready Schema         3 entities
Ready Client         generated and current
Ready Migrations     2 verified
Ready Database       postgres connection verified

Healthy: Rent project is healthy.

The command exits unsuccessfully at the first invalid boundary and includes the failing file or operation in its error. It does not alter the database.

On this page