Method: AddMissingIndexes.down

Defined in:
lib/generators/bumble/templates/migrations/add_missing_indexes.rb

.downObject



19
20
21
22
23
# File 'lib/generators/bumble/templates/migrations/add_missing_indexes.rb', line 19

def self.down
  # remove_index :posts, :permalink
  remove_index :comments, :post_id
  remove_index :posts, :column => [:id, :type]
end