-pgdiff compares the schema between two PostgreSQL databases and generates alter statements to be *manually* run against the second database. The provided pgdiff.sh script helps automate the process. At the moment, not everything in the schema is compared, but the things considered important are: roles, sequences, tables, columns (and their default values), primary keys, unique constraints, foreign keys, roles, ownership information, and grants.
0 commit comments