remove_index not remove_column
This commit is contained in:
parent
a773a4d366
commit
92e2147f61
|
@ -4,6 +4,6 @@ class Version04UpdateImpressionsTable < ActiveRecord::Migration
|
|||
end
|
||||
|
||||
def self.down
|
||||
remove_column :impressions, :impressionable_type_message_index
|
||||
remove_index :impressions, :impressionable_type_message_index
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue