add scripts for migrations

pull/34/head
unknown 2018-11-28 10:59:24 -05:00
parent af1dde188d
commit 7a18f7bed8
1 changed files with 3 additions and 1 deletions

View File

@ -65,7 +65,9 @@
"test": "npm run lint && npm run custom-tests && echo 'Done.'",
"lint": "standard && echo '✔ Your .js files look good.'",
"debug": "node --inspect app.js",
"custom-tests": "echo 'Nothing yet'"
"custom-tests": "echo 'Nothing yet'",
"db:migrate": "knex migrate:latest",
"db:rollback": "knex migrate:rollback"
},
"main": "app.js",
"repository": {