~cytrogen/masto-fe

ref: 4ea24537cf9c1fafd0edf79acd8cf666be662fbe masto-fe/db/migrate/20160314164231_add_owner_to_application.rb -rw-r--r-- 279 bytes
4ea24537 — dependabot[bot] Bump rubocop-performance from 1.17.1 to 1.18.0 (#25089) 2 years ago
                                                                                
1
2
3
4
5
6
7
class AddOwnerToApplication < ActiveRecord::Migration[4.2]
  def change
    add_column :oauth_applications, :owner_id, :integer, null: true
    add_column :oauth_applications, :owner_type, :string, null: true
    add_index :oauth_applications, [:owner_id, :owner_type]
  end
end