mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 13:05:51 +03:00
Add database table for directory from iOS NC
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
1ffc5949aa
commit
18119b32bf
1 changed files with 18 additions and 0 deletions
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue