fix: db migration not working (#2161)

This commit is contained in:
Meier Lukas
2024-10-18 20:50:56 +02:00
committed by GitHub
parent 59e5c0306f
commit 5b23f7d13a
4 changed files with 294 additions and 138 deletions

View File

@@ -2,14 +2,14 @@
"license": "MIT",
"description": "This package.json is used for the migration script the dependencies are only installed within the Dockerfile.",
"scripts": {
"db:migrate": "ts-node ./migrate.ts"
"db:migrate": "tsx ./migrate.ts"
},
"dependencies": {
"@types/better-sqlite3": "^7.6.7",
"better-sqlite3": "8.6.0",
"drizzle-orm": "^0.28.6",
"dotenv": "^16.3.1",
"ts-node": "^10.9.1",
"tsx": "4.19.1",
"typescript": "^5.2.2"
}
}