PostgreSQL diff Explainedby@[email protected]
4,184 reads

PostgreSQL diff Explained

tldt arrow
Read on Terminal Reader
Read this story w/o Javascript

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

@[email protected]

[email protected]

Linux admin and full stack dev


Receive Stories from @[email protected]

react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!