зеркало из https://github.com/nextcloud/ios.git
add attributes
This commit is contained in:
Родитель
e75c6e69d3
Коммит
60e8bb0ca7
|
@ -26,4 +26,4 @@ import Foundation
|
|||
// Database Realm
|
||||
//
|
||||
let databaseName = "nextcloud.realm"
|
||||
let databaseSchemaVersion: UInt64 = 299
|
||||
let databaseSchemaVersion: UInt64 = 300
|
||||
|
|
|
@ -4937,8 +4937,8 @@
|
|||
isa = XCRemoteSwiftPackageReference;
|
||||
repositoryURL = "https://github.com/nextcloud/NextcloudKit";
|
||||
requirement = {
|
||||
kind = exactVersion;
|
||||
version = 2.6.0;
|
||||
branch = "2425-missing-sharing-options";
|
||||
kind = branch;
|
||||
};
|
||||
};
|
||||
F788ECC5263AAAF900ADC67F /* XCRemoteSwiftPackageReference "MarkdownKit" */ = {
|
||||
|
|
|
@ -67,6 +67,7 @@ class tableShareV2: Object {
|
|||
@objc dynamic var userIcon = ""
|
||||
@objc dynamic var userMessage = ""
|
||||
@objc dynamic var userStatus = ""
|
||||
@objc dynamic var attributes: String?
|
||||
|
||||
override static func primaryKey() -> String {
|
||||
return "primaryKey"
|
||||
|
@ -127,6 +128,7 @@ extension NCManageDatabase {
|
|||
object.userIcon = share.userIcon
|
||||
object.userMessage = share.userMessage
|
||||
object.userStatus = share.userStatus
|
||||
object.attributes = share.attributes
|
||||
realm.add(object, update: .all)
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче