This repository was archived by the owner on Oct 29, 2024. It is now read-only.
File tree 1 file changed +1
-49
lines changed
1 file changed +1
-49
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ generator client {
6
6
}
7
7
8
8
datasource db {
9
- provider = " postgresql "
9
+ provider = " sqlite "
10
10
url = env (" DATABASE_URL " )
11
11
}
12
12
@@ -15,51 +15,3 @@ model Post {
15
15
title String
16
16
content String
17
17
}
18
-
19
- // NextAuth.js Models
20
- // NOTE: When using postgresql, mysql or sqlserver,
21
- // uncomment the @db.Text annotations below
22
- // @see https://next-auth.js.org/schemas/models
23
- model Account {
24
- id String @id @default (cuid () )
25
- userId String
26
- type String
27
- provider String
28
- providerAccountId String
29
- refresh_token String ? // @db.Text
30
- access_token String ? // @db.Text
31
- expires_at Int ?
32
- token_type String ?
33
- scope String ?
34
- id_token String ? // @db.Text
35
- session_state String ?
36
- user User @relation (fields : [userId ] , references : [id ] , onDelete : Cascade )
37
-
38
- @@unique ([provider , providerAccountId ] )
39
- }
40
-
41
- model Session {
42
- id String @id @default (cuid () )
43
- sessionToken String @unique
44
- userId String
45
- expires DateTime
46
- user User @relation (fields : [userId ] , references : [id ] , onDelete : Cascade )
47
- }
48
-
49
- model User {
50
- id String @id @default (cuid () )
51
- name String ?
52
- email String ? @unique
53
- emailVerified DateTime ?
54
- image String ?
55
- accounts Account []
56
- sessions Session []
57
- }
58
-
59
- model VerificationToken {
60
- identifier String
61
- token String @unique
62
- expires DateTime
63
-
64
- @@unique ([identifier , token ] )
65
- }
You can’t perform that action at this time.
0 commit comments