mirror of
https://github.com/Sonny93/my-links.git
synced 2025-12-11 00:33:04 +00:00
feat: store avatar and user name
This commit is contained in:
@@ -12,9 +12,11 @@ datasource db {
|
||||
}
|
||||
|
||||
model User {
|
||||
id Int @id @default(autoincrement())
|
||||
google_id String @unique
|
||||
email String @unique
|
||||
id Int @id @default(autoincrement())
|
||||
google_id String @unique
|
||||
email String @unique
|
||||
name String?
|
||||
image String?
|
||||
|
||||
categories Category[]
|
||||
links Link[]
|
||||
|
||||
Reference in New Issue
Block a user