Merge pull request #5383 from strapi/bookshelf/fixEnumTemp

Fix enumeration on SQL databases
This commit is contained in:
Alexandre BODIN 2020-03-04 09:09:05 +01:00 committed by GitHub
commit 58d343ae76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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':