update with changes from Production branch
This commit is contained in:
9
db/migrate/20110427021659_add_indices_to_comments.rb
Normal file
9
db/migrate/20110427021659_add_indices_to_comments.rb
Normal file
@ -0,0 +1,9 @@
|
||||
class AddIndicesToComments < ActiveRecord::Migration
|
||||
def self.up
|
||||
add_index :comments, :channel_id
|
||||
end
|
||||
|
||||
def self.down
|
||||
remove_index :comments, :channel_id
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user