sync targets. It removes the need for an ORM schema layer, Docker, or a shadow database in the schema workflow.
When it helps
- Your repository should be the source of truth for PostgreSQL schema changes.
- You want migrations that can be retried safely after a failed deploy.
- You need policy, type, and generated-output changes visible before a database catches up.
- You want typed, validated application boundaries without making an ORM the schema owner.
- You use plain PostgreSQL or a hosted provider such as Supabase, Neon, RDS/Aurora, Cloud SQL, AlloyDB, or Azure PostgreSQL.
Workflow
supaschema diff renders the migration and configured generated outputs. supaschema check verifies replay-safety. supaschema sync can run the guarded apply lane when you select a target or configure approved automatic targets.
For detailed performance, accuracy, and replay-safety results, see Benchmarks.
Start here
Install
Add supaschema to the project that owns your schema files.
Quickstart
Generate and check one migration from one schema file.
Configure
Set schema paths, sources, migrations, environments, and workflow defaults.
ORM-free apps
Use generated TypeScript and Zod contracts without making an ORM the schema
owner.

