]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/20150222101847_rename_openid_url.rb
Avoid more models in old migrations
[rails.git] / db / migrate / 20150222101847_rename_openid_url.rb
index b0735b74694fe6095778e2ac5dc15ae42bdaa765..a12303812f65b8d5b1ad6de711d2afed3f00b658 100644 (file)
@@ -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