feat: bump int size

This commit is contained in:
tresabhi committed 2025-03-25 15:29:41 -05:00
1 parent 30ca5c053a
commit ba17aae706
4 files changed
+17 -19

No files matched your search

+3 -16
View File
@@ -9,28 +9,15 @@ datasource db {
}
model User {
blitz_id Int @id @map("blitz") // map: "blitz" was too vague
last_used DateTime? @default(now())
tank_votes TankVote[]
blitz_id BigInt @id @map("blitz") // map: "blitz" was too vague
last_used DateTime? @default(now())
@@map("Users") // map: "Users" was mistakenly plural
}
model TankVote {
id Int @id
last_updated DateTime @default(now())
easiness Int?
firepower Int?
maneuverability Int?
survivability Int?
user User @relation(fields: [user_blitz_id], references: [blitz_id])
user_blitz_id Int
}
model DiscordUser {
discord_id BigInt @id @map("discord") // map: "discord" was too vague
blitz_id Int @map("blitz") // map: "blitz" was too vague
blitz_id BigInt @map("blitz") // map: "blitz" was too vague
@@map("DiscordUsers") // map: "DiscordUsers" was mistakenly plural
}