闭社主体 forked from https://github.com/tootsuite/mastodon
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.

6 lines
273 B

  1. class AddOwnerToApplication < ActiveRecord::Migration
  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