You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

7 lines
293 B

  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