mirror of
https://github.com/strapi/strapi.git
synced 2025-12-26 06:35:47 +00:00
fix1148
Update MySQL float data type from `float` to `double` to properly store large float values.
This commit is contained in:
parent
5b07acb7a6
commit
680c7377fc
@ -353,8 +353,10 @@ module.exports = function(strapi) {
|
||||
type = definition.client === 'pg' ? 'integer' : 'int';
|
||||
break;
|
||||
case 'float':
|
||||
type = 'double';
|
||||
break;
|
||||
case 'decimal':
|
||||
type = attribute.type;
|
||||
type = 'decimal';
|
||||
break;
|
||||
case 'date':
|
||||
case 'time':
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user