feat(api-db): initialize prisma with postgresql datasource

This commit is contained in:
2026-04-04 12:58:14 +08:00
parent d567710768
commit fba9443a30
7 changed files with 1174 additions and 8 deletions
+13
View File
@@ -0,0 +1,13 @@
// This is your Prisma schema file,
// learn more about it in the docs: https://pris.ly/d/prisma-schema
// Get a free hosted Postgres database in seconds: `npx create-db`
generator client {
provider = "prisma-client"
output = "../generated/prisma"
}
datasource db {
provider = "postgresql"
}