Develop Feature Locally
Capture Development Schema
schema.sql
file containing your complete schema definition.Commit to Version Control
Preview Staging Changes
plan.json
as well as the human readable plan by running pgschema plan
against your staging environment to show reviewers what changes will be applied.plan.json
will later be used to deploy to both staging and production. Review the plan carefully to ensure the changes match your expectations.Merge to Main Branch
schema.sql
and plan.json
would be merged together and are now ready for deployment.Deploy to Staging
Deploy to Production