touch up the down on the latest migration
This commit is contained in:
parent
38d685e06e
commit
e48e2fb56a
1 changed files with 3 additions and 2 deletions
|
|
@ -12,7 +12,8 @@ class AddBackIndexes < ActiveRecord::Migration
|
||||||
remove_index :comments, :column => [:commentable_id, :commentable_type]
|
remove_index :comments, :column => [:commentable_id, :commentable_type]
|
||||||
remove_index :photos, :column => :status_message_guid
|
remove_index :photos, :column => :status_message_guid
|
||||||
|
|
||||||
change_column :share_visibilities, :shareable_type
|
change_column :share_visibilities, :shareable_type, :string, :default => "Post", :null => false
|
||||||
change_column :comments, :commentable_type
|
change_column :comments, :commentable_type, :string, :default => "Post", :null => false
|
||||||
|
# reduce index size
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue