fluent-kit icon indicating copy to clipboard operation
fluent-kit copied to clipboard

Adding required fields

Open tanner0101 opened this issue 5 years ago • 0 comments

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.

tanner0101 avatar Jun 13 '20 02:06 tanner0101