X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/aa1fb6dbb8c2e71b8ce8c231ae1272a2dfebd75a..f7367baa6b6091df3eabbe8b7a4b99e3fa314743:/db/migrate/20150222101847_rename_openid_url.rb?ds=sidebyside diff --git a/db/migrate/20150222101847_rename_openid_url.rb b/db/migrate/20150222101847_rename_openid_url.rb index 8d49dc973..06b399615 100644 --- a/db/migrate/20150222101847_rename_openid_url.rb +++ b/db/migrate/20150222101847_rename_openid_url.rb @@ -1,4 +1,7 @@ -class RenameOpenidUrl < ActiveRecord::Migration[5.0] +class RenameOpenidUrl < ActiveRecord::Migration[4.2] + class User < ApplicationRecord + end + def change rename_column :users, :openid_url, :auth_uid add_column :users, :auth_provider, :string