Commit 25180735 by ivan Lan

Change level as index of warning_dirstrict::ohm

parent b3b6e42c
...@@ -11,8 +11,8 @@ module WeatherModel ...@@ -11,8 +11,8 @@ module WeatherModel
unit: :string unit: :string
}, },
options: { options: {
index: [:publishtime, :unit], index: [:publishtime, :level, :unit],
expire: 11 * 24 * 60 * 60, expire: 2 * 24 * 60 * 60,
unique: nil, unique: nil,
belongs_to: nil, belongs_to: nil,
has_many: nil, has_many: 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