Index into ES after migration

This commit is contained in:
Brenda Wallace
2019-12-20 16:21:11 +13:00
parent 8789fee365
commit e31f6a7c36

View File

@@ -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