X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/11cc4a5e601dd288d601e6e35a72d159062f18b5..2dd7a5edb2572bcd952b4d1ebd9baac32db9dfa5:/db/migrate/20150222101847_rename_openid_url.rb diff --git a/db/migrate/20150222101847_rename_openid_url.rb b/db/migrate/20150222101847_rename_openid_url.rb index 3b9a8effd..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[4.2] + class User < ApplicationRecord + end + def change rename_column :users, :openid_url, :auth_uid add_column :users, :auth_provider, :string