UNPKG

pg-diff-cli

Version:

PostgreSQL schema and data comparing tool

55 lines 1.17 kB
{ "development": { "sourceClient": { "host": "localhost", "port": 5432, "database": "pg_diff_test1", "user": "postgres", "password": "postgres", "applicationName": "pg-diff-cli", "ssl": false }, "targetClient": { "host": "localhost", "port": 5432, "database": "pg_diff_test2", "user": "postgres", "password": "postgres", "applicationName": "pg-diff-cli", "ssl": false }, "compareOptions": { "author": "@MSO - Michael Sogos", "outputDirectory": "db_migration", "getAuthorFromGit": true, "schemaCompare": { "namespaces": [ "public", "schema_one" ], "dropMissingTable": true, "dropMissingView": true, "dropMissingFunction": true, "dropMissingAggregate": true, "roles": [] }, "dataCompare": { "enable": false, "tables": [ { "tableName": "test_generic", "tableSchema": "public", "tableKeyFields": [ "id" ] } ] } }, "migrationOptions": { "patchesDirectory": "db_migration", "historyTableName": "migrations", "historyTableSchema": "public" } } }