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