pg-schema-diff
pg-schema-diff copied to clipboard
Go library for diffing Postgres schemas and generating SQL migrations
When trying out this product with the `plan` command, the program errors, because it seems to do some live validation of the plan. If I understand correctly what is happening,...
Let's say I'm building a column and a trigger that uses that column.
1. This should be directly fetchable 2. This should be inputtable into the diff function This suggests that we just need one mapping of ergnomic user-facing schema to something the...
Consider allowing users to define a .pg-schema-diff.yaml file that the CLI will read-in so users can quickly run the CLI
Examples include: - Any type of data constraint - Changing the type of a column - Changing the type of a sequence
This will cleanup the test code a bit and will greatly accelerate our test cases, since we don't really need to test data packing with each test case.
Create wrapper around schema name maps such that they can only be queried with a SchemaQualifiedName
This will reduce the likelihood of folks introducing a bug by using the name instead of the schema qualified name