Allowed constraintName in schema column spec

refs 0ba3d6df49

- this is used to indicate the name of the foreign key constraint and so
  we should let it through the schema checks
This commit is contained in:
Daniel Lockyer 2022-10-18 10:29:55 +07:00
parent 0ba3d6df49
commit c9d43b8fe1
No known key found for this signature in database

View File

@ -29,6 +29,7 @@ const VALID_KEYS = {
'validations',
'defaultTo',
'references',
'constraintName',
'cascadeDelete',
'setNullDelete',
'index'