pgcopydb icon indicating copy to clipboard operation
pgcopydb copied to clipboard

{WIP} Implement schema editing.

Open dimitri opened this issue 2 years ago • 0 comments

Add a facility to dump DDL commands for a specific set of tables, and include also their indexes and the foreign key definitions that point to selected tables. The command is pgcopydb dump sql-files --filters ...

Each SQL object definition is saved in their own file: .sql

Later implement a way to use the saved files instead of the pg_dump archive contents when preparing the schema on the target database, in a way that if the SQL files have been edited the new schema is installed there.

See #263.

dimitri avatar May 17 '23 22:05 dimitri