prisma init

This commit is contained in:
ntr committed 2022-07-27 21:26:56 +10:00
1 parent dde9646179
commit eb04fdb9a5
9 files changed
+127 -5

No files matched your search

+20
View File
@@ -0,0 +1,20 @@
// This is your Prisma schema file,
// learn more about it in the docs: https://pris.ly/d/prisma-schema
generator client {
provider = "prisma-client-js"
}
datasource db {
provider = "postgresql"
url = env("DATABASE_URL")
}
model User {
id String @id @default(uuid())
discogs String? @unique
data Json
creaedAt DateTime @default(now())
updatedAt DateTime @updatedAt
}