Commit 25180735 by ivan Lan

Change level as index of warning_dirstrict::ohm

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