feat(db): update Asset.sizeByte and AiUsage token fields to BigInt

This commit is contained in:
yiling
2026-07-29 20:14:23 +08:00
parent 5b19cfe98e
commit f161437797
17 changed files with 400 additions and 265 deletions
@@ -44,7 +44,7 @@ export class VersionStackService {
} else if (f.parentId !== parentId) {
throw new Error('files do not have the same parent')
}
totalSize += f.sizeByte
totalSize += Number(f.sizeByte)
}
if (!parentId) {