Commit f38f6ae8 by ivan Lan

Change date of CityForecast to datetime

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