X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/037585db3933a2954b43bd4b30ea5e30ade00be2..227c402ad10059ec35394f2a960a620e5cda73af:/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 b0735b746..a12303812 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 < ActiveRecord::Base + end + def change rename_column :users, :openid_url, :auth_uid add_column :users, :auth_provider, :string