fix(schema-diff): Include foreign key constraints in diff

With the change to report changes to constraints instead of all of the
post-data section, foreign key constraints where no longer captured in
the diff. This now extracts the foreign key constraints and generates a
diff of them between versions.

Blame: b6d58d0c42
This commit is contained in:
Timothy Messier committed 2023-03-27 14:27:54 +00:00
1 parent 28b98348cc
commit 04a6c310ee
2 files changed
+11 -3

No files matched your search

+3
View File
@@ -76,6 +76,9 @@ jobs:
#### Constraints
$(getdiff .schema-diff/constraints.diff)
#### Foreign Key Constraints
$(getdiff .schema-diff/fk_constraints.diff)
EOF
# Parse it through jq to build a valid json object.