Skip to content

Commit 5791045

Browse files
committed
docs: add pgschema
1 parent 393af78 commit 5791045

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

content/blog/top-open-source-postgres-migration-tools.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,17 @@ git-like workflow when developing against the local database.
9999
- `graphile-migrate uncommit` Moves the latest commit out of the committed migrations folder and back to the current migration
100100
(assuming the current migration is empty-ish). Removes the migration tracking entry from **ONLY** the local database.
101101

102+
## pgschema
103+
104+
[pgschema](https://github.com/pgschema/pgschema) is a new CLI-based tool, written in Go. It features a terraform-like declarative schema migration workflow:
105+
106+
- **Dump** a Postgres schema in a developer-friendly format with support for all common objects
107+
- **Edit** a schema to the desired state
108+
- **Plan** a schema migration by comparing desired state with current database state
109+
- **Apply** a schema migration with concurrent change detection, transaction-adaptive execution, and lock timeout control
110+
111+
[![asciicast](https://asciinema.org/a/vXHygDMUkGYsF6nmz2h0ONEQC.svg)](https://asciinema.org/a/vXHygDMUkGYsF6nmz2h0ONEQC)
112+
102113
## Summary
103114

104115
| Name | Interface | Language | Postgres Only | Highlight |
@@ -109,6 +120,7 @@ git-like workflow when developing against the local database.
109120
| [Reshape](https://github.com/fabianlindfors/reshape) | CLI | Rust | Y | Zero-downtime based on view. |
110121
| [pgroll](https://github.com/xataio/pgroll) | CLI | Go | Y | Inspired by Reshape and more accessible via its database platform. |
111122
| [graphile-migrate](https://github.com/graphile/migrate) | CLI | TypeScript | Y | Opinionated with git-like workflow. |
123+
| [pgschema](https://github.com/pgschema/pgschema) | CLI | Go | Y | Terraform-like declarative schema migration workflow |
112124

113125
## Further Readings
114126

0 commit comments

Comments
 (0)