paint-brush
PostgreSQL diff Explainedby@[email protected]
4,488 reads
4,488 reads

PostgreSQL diff Explained

by [email protected]2mMarch 26th, 2020
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Development flow requires continuous patching the production database with local changes normally made automatically by the orm software. This method is deceptively simple, all we'll use is standard Unix commands, and is good enough for us. We obtain only the schemas without any permissions and grant sql comands (-Ox) The only catch is if there are only field differences the sql generated could be invalid, so check it out before proceed.This code is available in GitHub: https://github.com/hanspoo/postgres-diff.

Coin Mentioned

Mention Thumbnail
featured image - PostgreSQL diff Explained
hans@welinux.cl HackerNoon profile picture

Linux admin and full stack dev

Learn More
LEARN MORE ABOUT @[email protected]'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

hans@welinux.cl HackerNoon profile picture
[email protected]@[email protected]
Linux admin and full stack dev

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite