]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/051_add_status_to_user.rb
Use bootstrap badges to implement count-number badges
[rails.git] / db / migrate / 051_add_status_to_user.rb
index f3a550c60d3e6e3b47f43b2bac13d5716dd7108c..f170e0de887c247aedd000f788d6ac4645c81f9f 100644 (file)
@@ -1,6 +1,7 @@
-require "migrate"
+class AddStatusToUser < ActiveRecord::Migration[4.2]
+  class User < ApplicationRecord
+  end
 
 
-class AddStatusToUser < ActiveRecord::Migration
   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]