20160926213048_remove_owner_from_application.rb 293 B

1234567
  1. class RemoveOwnerFromApplication < ActiveRecord::Migration[5.0]
  2. def change
  3. remove_index :oauth_applications, [:owner_id, :owner_type]
  4. remove_column :oauth_applications, :owner_id, :integer, null: true
  5. remove_column :oauth_applications, :owner_type, :string, null: true
  6. end
  7. end