]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/057_add_map_bug_comment_event.rb
Really remove login.live.com from CSP allow list
[rails.git] / db / migrate / 057_add_map_bug_comment_event.rb
index 0d1a2c8ab10810abb2092c34344eac3f551d0125..087d0f6924b9621b3867cd4c3c078e8e68159390 100644 (file)
@@ -1,8 +1,6 @@
-require "migrate"
-
-class AddMapBugCommentEvent < ActiveRecord::Migration[5.0]
+class AddMapBugCommentEvent < ActiveRecord::Migration[4.2]
   def self.up
-    create_enumeration :map_bug_event_enum, %w[opened closed reopened commented hidden]
+    create_enum :map_bug_event_enum, %w[opened closed reopened commented hidden]
 
     add_column :map_bug_comment, :event, :map_bug_event_enum
   end