@pgmt/pgmt
v0.4.7
Published
PostgreSQL schema-as-code with dependency tracking and production-ready migrations
Downloads
152
Maintainers
Readme
pgmt — PostgreSQL Schema-as-Code
Edit database objects like code. pgmt tracks dependencies, applies changes instantly, and generates production-ready migrations.
Install
npm install -g @pgmt/pgmtOr use without installing:
npx @pgmt/pgmt --versionQuick Start
pgmt init --dev-url postgres://localhost/mydb --defaults
pgmt apply
pgmt migrate new "add user analytics"Documentation
Other Install Methods
# Shell script
curl -fsSL https://pgmt.dev/install.sh | sh
# Cargo (from source)
cargo install pgmtLicense
MIT
