mirror of
https://github.com/redmine/redmine.git
synced 2025-11-01 02:46:13 +01:00
10 lines
201 B
Ruby
10 lines
201 B
Ruby
|
|
class AddMissingIndexesToUserPreferences < ActiveRecord::Migration
|
||
|
|
def self.up
|
||
|
|
add_index :user_preferences, :user_id
|
||
|
|
end
|
||
|
|
|
||
|
|
def self.down
|
||
|
|
remove_index :user_preferences, :user_id
|
||
|
|
end
|
||
|
|
end
|