diff options
author | Alec Warner <antarus@gentoo.org> | 2018-02-17 19:11:10 -0500 |
---|---|---|
committer | Alec Warner <antarus@gentoo.org> | 2018-02-17 19:11:10 -0500 |
commit | 0628e0106a59fbb992c429641e9497285218cd69 (patch) | |
tree | 37e1a8663db536f7c2dc4ae6bd4060abc7263758 | |
parent | Fix index typo. (diff) | |
download | packages-5-0628e0106a59fbb992c429641e9497285218cd69.tar.gz packages-5-0628e0106a59fbb992c429641e9497285218cd69.tar.bz2 packages-5-0628e0106a59fbb992c429641e9497285218cd69.zip |
Fix Changes index again.
Its simpler to fix by not renaming the class and just renaming the index
name due to how we automate things in p.g.o.
-rw-r--r-- | app/models/change.rb | 2 | ||||
-rw-r--r-- | lib/kkuleomi/store.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/models/change.rb b/app/models/change.rb index 580d5ab..6eaf00c 100644 --- a/app/models/change.rb +++ b/app/models/change.rb @@ -2,7 +2,7 @@ class Change include Elasticsearch::Persistence::Model include Kkuleomi::Store::Model - index_name "changes-#{Rails.env}" + index_name "change-#{Rails.env}" attribute :package, String, mapping: { type: 'keyword' } attribute :category, String, mapping: { type: 'keyword' } diff --git a/lib/kkuleomi/store.rb b/lib/kkuleomi/store.rb index 317f82a..150a64f 100644 --- a/lib/kkuleomi/store.rb +++ b/lib/kkuleomi/store.rb @@ -8,7 +8,7 @@ module Kkuleomi::Store Category, Package, Version, - Changes, + Change, Useflag, ] |