diff --git a/db/migrate/20191225073843_add_indexes_to_users.rb b/db/migrate/20191225073843_add_indexes_to_users.rb new file mode 100644 index 000000000..865f62d88 --- /dev/null +++ b/db/migrate/20191225073843_add_indexes_to_users.rb @@ -0,0 +1,6 @@ +class AddIndexesToUsers < ActiveRecord::Migration[5.2] + def change + add_index :users, :login + add_index :users, :mail + end +end