]> git.openstreetmap.org Git - rails.git/blobdiff - db/migrate/053_add_map_bug_tables.rb
Switch to using the zeitwork autoloader
[rails.git] / db / migrate / 053_add_map_bug_tables.rb
index 54c23fd1d73e84c2a9dad577a25fe42c751ff097..6ad3af0eb66a41de4f40d869dcbe710134d7e6c6 100644 (file)
@@ -1,8 +1,6 @@
-require 'migrate'
-
-class AddMapBugTables < ActiveRecord::Migration
+class AddMapBugTables < ActiveRecord::Migration[4.2]
   def self.up
-    create_enumeration :map_bug_status_enum, %w(open closed hidden)
+    create_enumeration :map_bug_status_enum, %w[open closed hidden]
 
     create_table :map_bugs do |t|
       t.integer :latitude, :null => false