logo

mastofe

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

20160314164231_add_owner_to_application.rb (278B)


  1. class AddOwnerToApplication < ActiveRecord::Migration[4.2]
  2. def change
  3. add_column :oauth_applications, :owner_id, :integer, null: true
  4. add_column :oauth_applications, :owner_type, :string, null: true
  5. add_index :oauth_applications, [:owner_id, :owner_type]
  6. end
  7. end