]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/051_add_status_to_user.rb
Merge remote-tracking branch 'upstream/pull/1926'
[rails.git] / db / migrate / 051_add_status_to_user.rb
index f3a550c60d3e6e3b47f43b2bac13d5716dd7108c..5cf8a920f50e0f2e0d290bc32e91e85de4f1f1da 100644 (file)
@@ -1,6 +1,9 @@
 require "migrate"
 
-class AddStatusToUser < ActiveRecord::Migration
+class AddStatusToUser < ActiveRecord::Migration[4.2]
+  class User < ActiveRecord::Base
+  end
+
   def self.up
     create_enumeration :user_status_enum, %w[pending active confirmed suspended deleted]