db-migrate
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -102,1 +102,6 @@ ## 0.1.0 | ||
- Added dry-run support for migrations #55 (via @joeferner) | ||
## 0.3.1 | ||
Improvement: | ||
- Added support for boolean data type #66 (via @trojanowski) |
@@ -9,3 +9,4 @@ module.exports = { | ||
TIMESTAMP: 'timestamp', | ||
BINARY: 'binary' | ||
BINARY: 'binary', | ||
BOOLEAN: 'boolean' | ||
}; |
@@ -37,2 +37,4 @@ var util = require('util'); | ||
return 'BINARY'; | ||
case type.BOOLEAN: | ||
return 'BOOLEAN'; | ||
default: | ||
@@ -39,0 +41,0 @@ var unknownType = str.toUpperCase(); |
@@ -53,2 +53,4 @@ var util = require('util'); | ||
return 'BINARY'; | ||
case type.BOOLEAN: | ||
return 'TINYINT(1)'; | ||
default: | ||
@@ -55,0 +57,0 @@ throw new Error('Invalid data type ' + str); |
@@ -14,3 +14,3 @@ { | ||
], | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"engines": { | ||
@@ -17,0 +17,0 @@ "node": ">=0.6.0" |
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
102933
1502