]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/20150222101847_rename_openid_url.rb
Merge pull request #4202 from tomhughes/changeset-comment-limit
[rails.git] / db / migrate / 20150222101847_rename_openid_url.rb
index b0735b74694fe6095778e2ac5dc15ae42bdaa765..06b399615124e8f535f0db3f8d3cfaf9c9bb4ef1 100644 (file)
@@ -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
   def change
     rename_column :users, :openid_url, :auth_uid
     add_column :users, :auth_provider, :string