Merge pull request #1147 from derrickmehaffy/fix1144

Update Strapi-Bookshelf to create enumeration columns
This commit is contained in:
Jim LAURIE 2018-05-09 10:05:45 +02:00 committed by GitHub
commit 5b07acb7a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -343,6 +343,7 @@ module.exports = function(strapi) {
type = 'text'; type = 'text';
break; break;
case 'string': case 'string':
case 'enumeration':
case 'password': case 'password':
case 'email': case 'email':
type = 'varchar(255)'; type = 'varchar(255)';