matthieu-foucault / postgit

Integrate declarative PostgreSQL schema migrations with Git
GNU General Public License v3.0
8 stars 0 forks source link

`diff` command #1

Closed matthieu-foucault closed 1 year ago

matthieu-foucault commented 1 year ago

Similar to the git diff command, support a postgit diff command that prints a migration script to go from one commit to the other.

postgit diff <commit>...<commit> <path> [--source-path path]