prstige
This commit is contained in:
@@ -13,6 +13,7 @@ model User {
|
||||
passwordHash String
|
||||
balance BigInt @default(0)
|
||||
osuBalance Int @default(0)
|
||||
prBalance Int @default(0)
|
||||
lastAdAt DateTime?
|
||||
role String @default("user")
|
||||
avatarUrl String @default("")
|
||||
@@ -23,6 +24,15 @@ model User {
|
||||
prestigeChanceBonus Int @default(0)
|
||||
prestigeGainBonus Int @default(0)
|
||||
prestigeKeyOpenReduction Int @default(0)
|
||||
prestigeStartBonus Int @default(0)
|
||||
prestigeAdBonus Int @default(0)
|
||||
prestigeAdCooldownReduction Int @default(0)
|
||||
prestigeWearBonus Int @default(0)
|
||||
prestigePrBonus Int @default(0)
|
||||
prestigeShopDiscount Int @default(0)
|
||||
prestigeStartOsu Int @default(0)
|
||||
prestigeDropValueBonus Int @default(0)
|
||||
prestigeOpenBonus Int @default(0)
|
||||
lastConnection DateTime?
|
||||
playTimeSeconds BigInt @default(0)
|
||||
createdAt DateTime @default(now())
|
||||
@@ -56,6 +66,7 @@ model Item {
|
||||
name String
|
||||
imageUrl String @default("")
|
||||
rarity String
|
||||
category String @default("Misc")
|
||||
marketValue BigInt
|
||||
createdAt DateTime @default(now())
|
||||
cases CaseItem[]
|
||||
@@ -187,6 +198,7 @@ model PrestigeLog {
|
||||
id Int @id @default(autoincrement())
|
||||
userId Int
|
||||
choice String
|
||||
prGranted Int @default(0)
|
||||
createdAt DateTime @default(now())
|
||||
user User @relation(fields: [userId], references: [id], onDelete: Cascade)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user