mirror of
https://github.com/trafficlunar/tomodachi-share.git
synced 2026-06-28 06:34:15 +00:00
parent
2209a17687
commit
4bdfefc1c6
17 changed files with 410 additions and 66 deletions
|
|
@ -7,6 +7,12 @@ datasource db {
|
|||
url = env("DATABASE_URL")
|
||||
}
|
||||
|
||||
enum Theme {
|
||||
LIGHT
|
||||
DARK
|
||||
SYSTEM
|
||||
}
|
||||
|
||||
model User {
|
||||
id Int @id @default(autoincrement())
|
||||
name String
|
||||
|
|
@ -14,6 +20,7 @@ model User {
|
|||
emailVerified DateTime?
|
||||
image String?
|
||||
description String? @db.VarChar(512)
|
||||
theme Theme @default(SYSTEM)
|
||||
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue