0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

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'