mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-11 23:17:48 +00:00
don't remove indexes after you remove one of their columns!
This commit is contained in:
@@ -25,8 +25,6 @@ class EnterpriseConfigRefactor < ActiveRecord::Migration
|
||||
end
|
||||
|
||||
remove_column :enterprises, :sells
|
||||
remove_index :enterprises, :sells
|
||||
remove_index :enterprises, [:is_primary_producer, :sells]
|
||||
end
|
||||
|
||||
def sells_what?(enterprise)
|
||||
|
||||
Reference in New Issue
Block a user