class UserClass: Object {
dynamic var id = 0
dynamic var user: String = ""
let colorData = List<Color>()
override static func primaryKey() -> String? {
return "user"
}
}
class VariousColor: Object {
dynamic var colorData = NSData()
let chidLink = LinkingObjects(fromType: UserClass.self, property: "data")
}
を
class UserClass: Object {
dynamic var id = 0
dynamic var user: String = ""
dynamic var kisetsu: String = ""
let colorData = List<Color>()
override static func primaryKey() -> String? {
return "user"
}
}
class VariousColor: Object {
dynamic var colorData = NSData()
let chidLink = LinkingObjects(fromType: UserClass.self, property: "data")
}
といった感じにカラムを追加したいのですが、App store上のアプリで使用してるデータを移行する方法がわかりません。(そもそもあるのでしょうか)