api/firstRun.post: properly initialize database using @prisma/migrate
All checks were successful
Build dev / build (push) Successful in 1m2s
All checks were successful
Build dev / build (push) Successful in 1m2s
instead of executing the command, which was not available in the build now we use the proper library to initialize the database.
This commit is contained in:
parent
1d8220d92c
commit
10ff342991
3 changed files with 2694 additions and 293 deletions
|
@ -24,6 +24,7 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@prisma/client": "5.5.2",
|
||||
"@prisma/migrate": "^5.5.2",
|
||||
"mysql2": "^3.2.3"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue