X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9a9b045372a6f48420a9a6dacfde52c34ab7abce..a32b726dc64a7fb4b997fef7b57cb558ec82689f:/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 b0735b746..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 +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