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