Hacker News new | past | comments | ask | show | jobs | submit login

On one of my oldest postgreSQL project which I usually edit on live database I also added version control in the form of a one liner pg_dump call that backup --schema-only.

This way whenever I make a change I call this one liner, overwrite previous sql dump in git repo, then stage all and commit.

This way il also enjoy diff over time for my schemas.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: