pgroll
pgroll copied to clipboard
Unify constraint options in all migrations
Now that the constraints in create_table contain all of the possible settings for constraints, we can go ahead and reuse the same writers and provide the same options for create_constraint and column level operations.
- [ ] primary key
- [ ] new type in
create_constrainthttps://github.com/xataio/pgroll/pull/698 - [ ] breaking change: add support for index parameters in inline definition
- [ ] new type in
- [ ] unique
- [ ] breaking change: support index parameters
- [ ] deferrable column level constraints
- [ ] exclusion constraint https://github.com/xataio/pgroll/issues/677
- [x] check: https://github.com/xataio/pgroll/pull/670
- [x] foreign key: https://github.com/xataio/pgroll/pull/653