]> git.openstreetmap.org Git - rails.git/blob - db/migrate/20170222134109_add_user_indexes.rb
Use CanCanCan for search controller
[rails.git] / db / migrate / 20170222134109_add_user_indexes.rb
1 class AddUserIndexes < ActiveRecord::Migration[5.0]
2   def change
3     add_index :oauth_tokens, [:user_id]
4     add_index :client_applications, [:user_id]
5   end
6 end