merge 19364:19600 of rails_port into the openID branch
renamed migration 049_add_open_id_authentication_tables.rb to 050_add_open_id_authentication_tables.rb
This commit is contained in:
commit
84db1d66b7
70 changed files with 1149 additions and 241 deletions
11
db/migrate/049_improve_changeset_user_index.rb
Normal file
11
db/migrate/049_improve_changeset_user_index.rb
Normal file
|
@ -0,0 +1,11 @@
|
|||
class ImproveChangesetUserIndex < ActiveRecord::Migration
|
||||
def self.up
|
||||
add_index :changesets, [:user_id, :id], :name => "changesets_user_id_id_idx"
|
||||
remove_index :changesets, :name => "changesets_user_id_idx"
|
||||
end
|
||||
|
||||
def self.down
|
||||
add_index :changesets, [:user_id], :name => "changesets_user_id_idx"
|
||||
remove_index :changesets, [:user_id, :id], :name => "changesets_user_id_id_idx"
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue