From e0287c8d27888921d81a4e226d95eb685743a50c Mon Sep 17 00:00:00 2001 From: chachew Date: Wed, 7 Oct 2020 08:06:59 -0500 Subject: [PATCH] Add missing 'format' reserved model word. (#8194) * Add missing 'format' reserved model word. * Move reserved word to attribute name. Co-authored-by: Matt Kirkland --- packages/strapi-database/lib/constants/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/strapi-database/lib/constants/index.js b/packages/strapi-database/lib/constants/index.js index 8fa28d0dcc..a583449d78 100644 --- a/packages/strapi-database/lib/constants/index.js +++ b/packages/strapi-database/lib/constants/index.js @@ -46,6 +46,7 @@ const RESERVED_ATTRIBUTE_NAMES = [ 'schema', 'toObject', 'validate', + 'format', ]; module.exports = {