Index into ES after migration

This commit is contained in:
Brenda Wallace committed 2019-12-20 16:21:11 +13:00
1 parent 8789fee365
commit e31f6a7c36
1 file changed
+5
@@ -13,6 +13,11 @@ class AddHarvestCountToCrop < ActiveRecord::Migration[5.2]
reversible do |dir|
dir.up { data }
end
Crop.reindex
Planting.reindex
Seed.reindex
Harvest.reindex
end
def data