mirror of
https://github.com/strapi/strapi.git
synced 2025-09-08 16:16:21 +00:00
change length to 36 for type uuid mysql
This commit is contained in:
parent
dd7e6a479c
commit
6c0abfc314
@ -398,7 +398,7 @@ module.exports = function(strapi) {
|
||||
} else {
|
||||
switch (attribute.type) {
|
||||
case 'uuid':
|
||||
type = definition.client === 'pg' ? 'uuid' : 'varchar(255)';
|
||||
type = definition.client === 'pg' ? 'uuid' : 'varchar(36)';
|
||||
break;
|
||||
case 'text':
|
||||
type = definition.client === 'pg' ? type = 'text' : 'longtext';
|
||||
|
Loading…
x
Reference in New Issue
Block a user