X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/9a9b045372a6f48420a9a6dacfde52c34ab7abce..22dc13d6edb17cbdd4b73aabad340dcc8ef41999:/db/migrate/053_add_map_bug_tables.rb?ds=sidebyside diff --git a/db/migrate/053_add_map_bug_tables.rb b/db/migrate/053_add_map_bug_tables.rb index 52d190424..6ad3af0eb 100644 --- a/db/migrate/053_add_map_bug_tables.rb +++ b/db/migrate/053_add_map_bug_tables.rb @@ -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