@minatojs/driver-mysql
Advanced tools
Comparing version 2.7.3 to 2.7.4
@@ -104,6 +104,6 @@ "use strict"; | ||
case "char": | ||
case "string": | ||
return !!field.length && !!column.CHARACTER_MAXIMUM_LENGTH && column.CHARACTER_MAXIMUM_LENGTH !== field.length; | ||
case "decimal": | ||
return column.NUMERIC_PRECISION !== field.precision || column.NUMERIC_SCALE !== field.scale; | ||
case "string": | ||
case "text": | ||
@@ -110,0 +110,0 @@ case "list": |
{ | ||
"name": "@minatojs/driver-mysql", | ||
"version": "2.7.3", | ||
"version": "2.7.4", | ||
"description": "MySQL Driver for Minato", | ||
@@ -29,6 +29,6 @@ "main": "lib/index.js", | ||
"peerDependencies": { | ||
"@minatojs/core": "^2.8.0" | ||
"@minatojs/core": "^2.8.1" | ||
}, | ||
"devDependencies": { | ||
"@minatojs/tests": "^1.8.3", | ||
"@minatojs/tests": "^1.8.4", | ||
"@types/mysql": "^2.15.24" | ||
@@ -35,0 +35,0 @@ }, |
@@ -59,6 +59,6 @@ import { createPool, format } from '@vlasky/mysql' | ||
case 'char': | ||
case 'string': | ||
return !!field.length && !!column.CHARACTER_MAXIMUM_LENGTH && column.CHARACTER_MAXIMUM_LENGTH !== field.length | ||
case 'decimal': | ||
return column.NUMERIC_PRECISION !== field.precision || column.NUMERIC_SCALE !== field.scale | ||
case 'string': | ||
case 'text': | ||
@@ -65,0 +65,0 @@ case 'list': |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package