Skip to content

Commit

Permalink
Merge pull request shoel-uddin#60 from shoel-uddin/kevins_version
Browse files Browse the repository at this point in the history
added db script to package.json
  • Loading branch information
Stormy110 authored Jan 15, 2021
2 parents 1636d0d + a37f015 commit 3a6e807
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
"description": "",
"main": "index.js",
"scripts": {
"db:create": "npx sequelize db:create",
"db:migrate": "npx sequelize db:migrate",
"db:seed": "npx sequelize db:seed:all",
"db:make": "npx sequelize db:create && npx sequelize db:migrate && npx sequelize db:seed:all",
"db:reset": "npx sequelize db:drop && npx sequelize db:create && npx sequelize db:migrate && npx sequelize db:seed:all",
"start": "node index.js",
"dev": "nodemon index.js",
"elephant:reset": "npx sequelize db:seed:undo:all && npx sequelize db:migrate:undo:all && npx sequelize db:migrate && npx sequelize db:seed:all",
Expand Down

0 comments on commit 3a6e807

Please sign in to comment.