You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
educoder/db/migrate/20191225073843_add_indexes_...

7 lines
135 B

class AddIndexesToUsers < ActiveRecord::Migration[5.2]
def change
add_index :users, :login
add_index :users, :mail
end
end