20160926213048_remove_owner_from_application.rb 324 B

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