Add npm script to run migrations manually
parent
fdabf65882
commit
c467c7d0f6
|
@ -12,7 +12,8 @@
|
||||||
"lint-fix": "eslint --fix ./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",
|
||||||
"generate-plugin-api-docs": "jsdoc2md -t docs/plugin-api-template.hbs src/pluginApi.js > docs/plugin-api.md",
|
"generate-plugin-api-docs": "jsdoc2md -t docs/plugin-api-template.hbs src/pluginApi.js > docs/plugin-api.md",
|
||||||
"create-migration": "knex migrate:make"
|
"create-migration": "knex migrate:make",
|
||||||
|
"run-migrations": "knex migrate:latest"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
Loading…
Reference in New Issue