mirror of
https://github.com/strapi/strapi.git
synced 2025-10-04 12:57:11 +00:00
Merge pull request #5383 from strapi/bookshelf/fixEnumTemp
Fix enumeration on SQL databases
This commit is contained in:
commit
58d343ae76
@ -69,7 +69,6 @@ module.exports = async ({
|
|||||||
? table.jsonb(name)
|
? table.jsonb(name)
|
||||||
: table.text(name, 'longtext');
|
: table.text(name, 'longtext');
|
||||||
case 'enumeration':
|
case 'enumeration':
|
||||||
return table.enu(name, attribute.enum || []);
|
|
||||||
case 'string':
|
case 'string':
|
||||||
case 'password':
|
case 'password':
|
||||||
case 'email':
|
case 'email':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user