fix file size limit

This commit is contained in:
lendry
2026-07-07 17:36:01 +03:00
parent b90017aad0
commit f36a8d7456
12 changed files with 482 additions and 159 deletions

View File

@@ -51,6 +51,7 @@ model AppRelease {
platform AppReleasePlatform
version String
versionCode Int
variant String @default("universal")
fileName String
storageKey String @unique
fileSize BigInt
@@ -61,9 +62,9 @@ model AppRelease {
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
@@unique([platform, version])
@@unique([platform, versionCode])
@@unique([platform, versionCode, variant])
@@index([platform, isPublished, createdAt])
@@index([platform, versionCode, isPublished])
}
model User {