logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe git clone https://hacktivis.me/git/mastofe.git

20160926213048_remove_owner_from_application.rb (293B)


  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