Commit f38f6ae8 by ivan Lan

Change date of CityForecast to datetime

parent acdb1e0f
......@@ -15,7 +15,7 @@ module WeatherModel
win_speed: :string,
},
options: {
index: [:cityname, :date],
index: [:cityname, :datetime],
expire: 11 * 24 * 60 * 60,
unique: nil,
belongs_to: nil,
......
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