X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5b33f3f8e31c62bc3e5db1d5b120533c3afdde68..ebb1fba41db203fb05d2f35c62b774dd4534a021:/db/migrate/053_add_map_bug_tables.rb?ds=inline diff --git a/db/migrate/053_add_map_bug_tables.rb b/db/migrate/053_add_map_bug_tables.rb index 0ad968d0a..682a736d0 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_enum :map_bug_status_enum, %w[open closed hidden] create_table :map_bugs do |t| t.integer :latitude, :null => false