Commit 6cfdb170 by Demid Merzlyakov

Storage: CoreData Model: rename weatherType -> type, since type is allowed with…

Storage: CoreData Model: rename weatherType -> type, since type is allowed with Swift model objects.
parent ed238874
......@@ -24,8 +24,8 @@ public enum CoreCurrentWeatherAttributes: String {
case sunset = "sunset"
case temp = "temp"
case timeZone = "timeZone"
case type = "type"
case visibility = "visibility"
case weatherType = "weatherType"
case weekDay = "weekDay"
case windDirection = "windDirection"
case windSpeed = "windSpeed"
......@@ -123,10 +123,10 @@ open class _CoreCurrentWeather: NSManagedObject {
var timeZone: String!
@NSManaged open
var visibility: Data?
var type: String!
@NSManaged open
var weatherType: String!
var visibility: Data?
@NSManaged open
var weekDay: String!
......
......@@ -18,7 +18,7 @@ public enum CoreDailyWeatherAttributes: String {
case sunrise = "sunrise"
case sunset = "sunset"
case timeZone = "timeZone"
case weatherType = "weatherType"
case type = "type"
case weekDay = "weekDay"
case windDirection = "windDirection"
case windSpeed = "windSpeed"
......@@ -98,7 +98,7 @@ open class _CoreDailyWeather: NSManagedObject {
var timeZone: String!
@NSManaged open
var weatherType: String!
var type: String!
@NSManaged open
var weekDay: String!
......
......@@ -11,7 +11,7 @@ public enum CoreDayTimeWeatherAttributes: String {
case lastTimeUpdated = "lastTimeUpdated"
case temp = "temp"
case timeZone = "timeZone"
case weatherType = "weatherType"
case type = "type"
case weekDay = "weekDay"
}
......@@ -68,7 +68,7 @@ open class _CoreDayTimeWeather: NSManagedObject {
var timeZone: String!
@NSManaged open
var weatherType: String!
var type: String!
@NSManaged open
var weekDay: String!
......
......@@ -13,7 +13,7 @@ public enum CoreHourlyWeatherAttributes: String {
case precipitationProbability = "precipitationProbability"
case temp = "temp"
case timeZone = "timeZone"
case weatherType = "weatherType"
case type = "type"
case weekDay = "weekDay"
case windDirection = "windDirection"
case windSpeed = "windSpeed"
......@@ -78,7 +78,7 @@ open class _CoreHourlyWeather: NSManagedObject {
var timeZone: String!
@NSManaged open
var weatherType: String!
var type: String!
@NSManaged open
var weekDay: String!
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment