diff options
Diffstat (limited to 'db/migrate/20160926213048_remove_owner_from_application.rb')
-rw-r--r-- | db/migrate/20160926213048_remove_owner_from_application.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/db/migrate/20160926213048_remove_owner_from_application.rb b/db/migrate/20160926213048_remove_owner_from_application.rb new file mode 100644 index 000000000..a42f53a29 --- /dev/null +++ b/db/migrate/20160926213048_remove_owner_from_application.rb @@ -0,0 +1,7 @@ +class RemoveOwnerFromApplication < ActiveRecord::Migration[5.0] + def change + remove_index :oauth_applications, [:owner_id, :owner_type] + remove_column :oauth_applications, :owner_id, :integer, null: true + remove_column :oauth_applications, :owner_type, :string, null: true + end +end |