From cd87f0ed220ed4c5ca206340e5e787051a63bf44 Mon Sep 17 00:00:00 2001 From: Derrick Mehaffy Date: Mon, 2 Mar 2020 07:30:33 -0700 Subject: [PATCH] Fix enumeration on SQL databases Signed-off-by: Derrick Mehaffy --- packages/strapi-connector-bookshelf/lib/buildDatabaseSchema.js | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/strapi-connector-bookshelf/lib/buildDatabaseSchema.js b/packages/strapi-connector-bookshelf/lib/buildDatabaseSchema.js index 63ab53cfe7..a6ff47a169 100644 --- a/packages/strapi-connector-bookshelf/lib/buildDatabaseSchema.js +++ b/packages/strapi-connector-bookshelf/lib/buildDatabaseSchema.js @@ -69,7 +69,6 @@ module.exports = async ({ ? table.jsonb(name) : table.text(name, 'longtext'); case 'enumeration': - return table.enu(name, attribute.enum || []); case 'string': case 'password': case 'email':