add migration command to package.json
This commit is contained in:
parent
d19c057937
commit
74263b1e1c
2 changed files with 2 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
FROM debian:latest
|
FROM debian:12
|
||||||
|
|
||||||
# Install dependencies
|
# Install dependencies
|
||||||
RUN apt-get update
|
RUN apt-get update
|
||||||
|
|
|
||||||
|
|
@ -20,6 +20,7 @@
|
||||||
"start": "node src/app.js",
|
"start": "node src/app.js",
|
||||||
"start:container": "docker compose up -d --build",
|
"start:container": "docker compose up -d --build",
|
||||||
"stop:container": "docker compose down",
|
"stop:container": "docker compose down",
|
||||||
|
"migrate": "npx sequelize-cli db:migrate",
|
||||||
"build": "webpack",
|
"build": "webpack",
|
||||||
"watch": "webpack --watch",
|
"watch": "webpack --watch",
|
||||||
"cli": "node src/cli.js",
|
"cli": "node src/cli.js",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue