mirror of
https://github.com/hex248/sprint.git
synced 2026-02-08 02:33:01 +00:00
db migration scripts
This commit is contained in:
@@ -7,7 +7,9 @@
|
|||||||
"dev": "bun --watch src/index.ts --dev --PORT=3000",
|
"dev": "bun --watch src/index.ts --dev --PORT=3000",
|
||||||
"start": "bun src/index.ts --PORT=3000",
|
"start": "bun src/index.ts --PORT=3000",
|
||||||
"db:start": "docker compose up -d",
|
"db:start": "docker compose up -d",
|
||||||
"db:stop": "docker compose down"
|
"db:stop": "docker compose down",
|
||||||
|
"db:migrate": "npx drizzle-kit generate && npx drizzle-kit migrate",
|
||||||
|
"db:push": "npx drizzle-kit push"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/bun": "latest",
|
"@types/bun": "latest",
|
||||||
|
|||||||
Reference in New Issue
Block a user