]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/051_add_status_to_user.rb
Make the sharing controls read-only
[rails.git] / db / migrate / 051_add_status_to_user.rb
index a58f8f8c9e829f54069b85db71a42e80fe3d6d55..f170e0de887c247aedd000f788d6ac4645c81f9f 100644 (file)
@@ -1,6 +1,7 @@
-require "migrate"
-
 class AddStatusToUser < ActiveRecord::Migration[4.2]
 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]