Add database table for directory from iOS NC

Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
Claudio Cambra 2023-01-10 19:14:25 +01:00
parent 1ffc5949aa
commit 18119b32bf
No known key found for this signature in database
GPG key ID: C839200C384636B0

View file

@ -96,3 +96,21 @@ class NextcloudFileMetadataTable: Object {
return "ocId"
}
}
class NextcloudDirectoryMetadataTable: Object {
@objc dynamic var account = ""
@objc dynamic var colorFolder: String?
@objc dynamic var e2eEncrypted: Bool = false
@objc dynamic var etag = ""
@objc dynamic var favorite: Bool = false
@objc dynamic var fileId = ""
@objc dynamic var ocId = ""
@objc dynamic var offline: Bool = false
@objc dynamic var permissions = ""
@objc dynamic var richWorkspace: String?
@objc dynamic var serverUrl = ""
override static func primaryKey() -> String {
return "ocId"
}
}