Update MySQL float data type from `float` to `double` to properly store large float values.
This commit is contained in:
DMehaffy 2018-05-09 02:28:17 -07:00
parent 5b07acb7a6
commit 680c7377fc

View File

@ -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':