-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathschema.prisma.bak
More file actions
43 lines (38 loc) · 951 Bytes
/
Copy pathschema.prisma.bak
File metadata and controls
43 lines (38 loc) · 951 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
generator client {
provider = "prisma-client-js"
}
datasource db {
provider = "postgresql"
}
model Newsletters {
id Int @id @default(autoincrement())
fullname String?
email String?
tel String?
message String?
source String? @default("form-trifaxic")
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
}
model Auth {
id Int @id @unique @default(autoincrement())
nickname String?
email String @unique
hashPass String
role Boolean? @default(false)
img String?
source String? @default("form-login-trifaxic")
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
}
model Hanyu {
id String @id @unique
hanzi String
pinyin String
xinbanya String
tone String?
img String?
source String? @default("form-hanyu")
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
}