mirror of
https://github.com/hex248/sprint.git
synced 2026-02-07 18:23:03 +00:00
db reset and seed scripts
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
"version": "0.1.0",
|
||||
"type": "module",
|
||||
"engines": {
|
||||
"bun": "1.3.4"
|
||||
"bun": "1.3.4"
|
||||
},
|
||||
"scripts": {
|
||||
"dev": "bun --watch src/index.ts --dev --PORT=3000",
|
||||
@@ -11,7 +11,9 @@
|
||||
"db:start": "docker compose up -d",
|
||||
"db:stop": "docker compose down",
|
||||
"db:migrate": "npx drizzle-kit generate && npx drizzle-kit migrate",
|
||||
"db:push": "npx drizzle-kit push"
|
||||
"db:push": "npx drizzle-kit push",
|
||||
"db:reset": "bun scripts/db-reset.ts",
|
||||
"db:seed": "bun scripts/db-seed.ts"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/bcrypt": "^6.0.0",
|
||||
@@ -31,8 +33,5 @@
|
||||
"drizzle-orm": "^0.45.0",
|
||||
"jsonwebtoken": "^9.0.3",
|
||||
"pg": "^8.16.3"
|
||||
},
|
||||
"engines": {
|
||||
"bun": ">=1.0.0"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user