]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/20150222101847_rename_openid_url.rb
Move api messages resources to api namespace
[rails.git] / db / migrate / 20150222101847_rename_openid_url.rb
index 8d49dc973e5750f72cf018ca203504ec7573d1e4..06b399615124e8f535f0db3f8d3cfaf9c9bb4ef1 100644 (file)
@@ -1,4 +1,7 @@
-class RenameOpenidUrl < ActiveRecord::Migration[5.0]
+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