mirror of
https://github.com/strapi/strapi.git
synced 2025-11-02 02:44:55 +00:00
change mysql from text to longtext
This commit is contained in:
parent
7b2ce955ff
commit
c38112ed56
@ -402,7 +402,7 @@ module.exports = function(strapi) {
|
||||
} else {
|
||||
switch (attribute.type) {
|
||||
case 'text':
|
||||
type = 'text';
|
||||
type = definition.client === 'pg' ? type = 'text' : 'longtext';
|
||||
break;
|
||||
case 'json':
|
||||
type = definition.client === 'pg' ? 'jsonb' : 'longtext';
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user