mirror of
https://github.com/redmine/redmine.git
synced 2024-08-27 05:58:46 +02:00
10 lines
158 B
Ruby
10 lines
158 B
Ruby
![]() |
class AddIndexToUsersType < ActiveRecord::Migration
|
||
|
def self.up
|
||
|
add_index :users, :type
|
||
|
end
|
||
|
|
||
|
def self.down
|
||
|
remove_index :users, :type
|
||
|
end
|
||
|
end
|