3 ms·
One way I've approached this in the past is to dump the database schema after each schema modification and use version control on those schema. There's a python
by grzm 5y ago
One way I've approached this in the past is to dump the database schema after each schema modification and use version control on those schema. There's a python project out there (apologies: I can't recall the name of it right now) now that leverages pg_dump and its options to make this easier. Not perfect, but useable. And better than nothing!
Found it: https://github.com/omniti-labs/pg_extractor https://github.com/omniti-labs/pg_extractor