]> git.openstreetmap.org Git - rails.git/blob - db/migrate/20170222134109_add_user_indexes.rb
use a controller method to handle cancan denials
[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