rent
ReferenceCommand line

rent db pull

Pull a catalog

rent db pull inspects the live catalog and writes models, scalar fields, primary keys, indexes, foreign keys, checks, triggers, row-level-security settings, exact native types, and extension requests to rent/schema.rsl.

rent db pull
rent validate
rent describe
rent generate
Pulled 2 entities into rent/schema.rsl

Select PostgreSQL schemas or another destination when needed:

rent db pull --schemas accounts,content --target crates/domain/schema.rsl

Rent refuses to replace the destination unless --force is present. Review and preserve intentional application annotations before replacing a previously edited schema.

On this page