feat: add BackupCard component and corresponding Backup model to enhance settings functionality and data management
This commit is contained in:
@@ -86,3 +86,14 @@ model Category {
|
||||
|
||||
@@index([parentId])
|
||||
}
|
||||
|
||||
model Backup {
|
||||
id String @id @default(cuid())
|
||||
filename String
|
||||
filePath String
|
||||
size Int // Size in bytes
|
||||
dataHash String? // Hash of the actual data (excluding Backup table)
|
||||
createdAt DateTime @default(now())
|
||||
|
||||
@@index([createdAt])
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user