]> git.openstreetmap.org Git - rails.git/blob - db/migrate/20170222134109_add_user_indexes.rb
Merge pull request #5293 from AntonKhorev/user-roles-resourceful-routes
[rails.git] / db / migrate / 20170222134109_add_user_indexes.rb
1 class AddUserIndexes < ActiveRecord::Migration[4.2]
2   def change
3     add_index :oauth_tokens, [:user_id]
4     add_index :client_applications, [:user_id]
5   end
6 end