🗃️ - DB full init first time it starts w/ docker

This commit is contained in:
Florian Sylvain
2022-11-10 12:48:54 +01:00
parent 3c53d63b1f
commit 96fb0d3eab
3 changed files with 20 additions and 14 deletions
+1 -1
View File
@@ -4,7 +4,7 @@
"private": true,
"type": "module",
"scripts": {
"start": "node app.js"
"start": "prisma migrate deploy && node app.js"
},
"dependencies": {
"@prisma/client": "^4.6.0",