require "migrate"
-class AddStatusToUser < ActiveRecord::Migration[5.0]
+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]