Commit graph

6 commits

Author SHA1 Message Date
0151a6c713 Update dependencies 2023-12-16 15:07:51 +01:00
10ff342991 api/firstRun.post: properly initialize database using @prisma/migrate
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.
2023-11-09 23:52:56 +01:00
434ae5843e api/firstRun.post: await for user creation 2023-11-09 17:29:41 +01:00
eebf25198d Replace mysql2 with prisma
also I updated packages,
and properly typed api input
a lot of time was spent, I don't remeber what really I did x3
but everything was related to replacing mysql2 with prisma
2023-11-08 05:36:12 +01:00
1d893c4a78 Update dependencies, fix (auto)import problems 2023-11-07 17:36:30 +01:00
90932a49c8 Add database initialization
now, when the project is ran without configured database,
it will prompt for the first user to configure
the database and add the first user
2023-06-14 13:00:19 +02:00