pgroll/pkg/state
Andrew Farries 994a1aa6f8
Add UNIQUE constraints to pgroll's internal schema representation (#242)
Add knowledge of `UNIQUE` constraints defined on a table to `pgroll`'s
internal schema representation.

`UNIQUE` constraints were already present as indexes, but this PR adds
them as their own top-level field in the `Table` schema and includes
information about the columns involved in the constraint.

Part of https://github.com/xataio/pgroll/issues/105
2024-01-18 12:08:53 +00:00
..
errors.go License check in github actions (#123) 2023-09-22 10:31:49 +00:00
state_test.go Add UNIQUE constraints to pgroll's internal schema representation (#242) 2024-01-18 12:08:53 +00:00
state.go Add UNIQUE constraints to pgroll's internal schema representation (#242) 2024-01-18 12:08:53 +00:00
status.go Move logic for the status command into the state and migrations packages (#205) 2023-11-22 12:36:54 +00:00