remove_index not remove_column
This commit is contained in:
1 parent
a773a4d366
commit
92e2147f61
1 file changed
+1
-1
@@ -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
|
||||
Reference in new issue
Block a user