fluent-kit
fluent-kit copied to clipboard
Adding required fields
Fluent should support adding required fields to an existing schema, either via:
- Setting a default, then removing it
- Adding the field as optional, then adding the required constraint after filling in values
As reported in https://github.com/vapor/fluent-postgres-driver/issues/88, it appears that adding a column with a default value may be slow. This should be tested.