Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -11,9 +11,9 @@ datasource db { | ... | @@ -11,9 +11,9 @@ datasource db { |
11 | model User { | 11 | model User { |
12 | id Int @default(autoincrement()) @id | 12 | id Int @default(autoincrement()) @id |
13 | avatarUrl String? @default("") | 13 | avatarUrl String? @default("") |
14 | + username String | ||
14 | email String @unique | 15 | email String @unique |
15 | password String | 16 | password String |
16 | - username String | ||
17 | phoneNum String @default("") @unique | 17 | phoneNum String @default("") @unique |
18 | emailSecret String? @default("") | 18 | emailSecret String? @default("") |
19 | phoneSecret String? @default("") | 19 | phoneSecret String? @default("") | ... | ... |
-
Please register or login to post a comment