Add create-migration script
Usage: npm run create-migration -- my_migration_name_herecshd
parent
77cb19e70c
commit
98532be55a
|
@ -10,7 +10,8 @@
|
|||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"lint": "eslint ./src ./db/migrations",
|
||||
"lint-fix": "eslint --fix ./src ./db/migrations",
|
||||
"generate-config-jsdoc": "node src/data/generateCfgJsdoc.js"
|
||||
"generate-config-jsdoc": "node src/data/generateCfgJsdoc.js",
|
||||
"create-migration": "knex migrate:make"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
Loading…
Reference in New Issue