Redmine 3.4.4
This commit is contained in:
commit
64924a6376
2112 changed files with 259028 additions and 0 deletions
11
db/migrate/20091017213027_add_missing_indexes_to_comments.rb
Normal file
11
db/migrate/20091017213027_add_missing_indexes_to_comments.rb
Normal file
|
@ -0,0 +1,11 @@
|
|||
class AddMissingIndexesToComments < ActiveRecord::Migration
|
||||
def self.up
|
||||
add_index :comments, [:commented_id, :commented_type]
|
||||
add_index :comments, :author_id
|
||||
end
|
||||
|
||||
def self.down
|
||||
remove_index :comments, :column => [:commented_id, :commented_type]
|
||||
remove_index :comments, :author_id
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue