From c467c7d0f6938028b23cb2166c3291cba0d9a21d Mon Sep 17 00:00:00 2001 From: Dragory <2606411+Dragory@users.noreply.github.com> Date: Tue, 18 Aug 2020 22:43:26 +0300 Subject: [PATCH] Add npm script to run migrations manually --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 790a4e0..292222b 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,8 @@ "lint-fix": "eslint --fix ./src ./db/migrations", "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", - "create-migration": "knex migrate:make" + "create-migration": "knex migrate:make", + "run-migrations": "knex migrate:latest" }, "repository": { "type": "git",