sequelize-migrate
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "sequelize-migrate", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Sequelize Migration Tool", | ||
@@ -10,4 +10,3 @@ "main": "index.js", | ||
"scripts": { | ||
"test": "node ./tests", | ||
"prepush": "jshint . && npm test" | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
@@ -30,3 +29,10 @@ "repository": { | ||
"umzug": "^1.6.0" | ||
} | ||
}, | ||
"keywords": [ | ||
"sequelize", | ||
"migration", | ||
"migrate", | ||
"database", | ||
"mysql" | ||
] | ||
} |
@@ -6,8 +6,11 @@ # sequelize-migrate | ||
- Command line | ||
``` javascript | ||
cd my-cool-project/migrations && sequelize-migrate -u | ||
cd my-cool-project/migrations && sequelize-migrate -c my-cool-new-migration | ||
``` | ||
cd my-cool-project/migrations && ./migrate -u | ||
cd my-cool-project/migrations && ./migrate -c my-cool-new-migration | ||
``` | ||
- Programatically | ||
``` | ||
``` javascript | ||
var migrate = require('sequelize-migrate'); | ||
@@ -14,0 +17,0 @@ |
Sorry, the diff of this file is not supported yet
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
7481
25
1