X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ef7f3d800cbdd49b692df10d312e5fd880e2e938..d3e91a79ff3ab35006b233d39e059ffa406ba443:/db/migrate/053_add_map_bug_tables.rb diff --git a/db/migrate/053_add_map_bug_tables.rb b/db/migrate/053_add_map_bug_tables.rb index 54c23fd1d..aac3c11c4 100644 --- a/db/migrate/053_add_map_bug_tables.rb +++ b/db/migrate/053_add_map_bug_tables.rb @@ -1,8 +1,8 @@ -require 'migrate' +require "migrate" -class AddMapBugTables < ActiveRecord::Migration +class AddMapBugTables < ActiveRecord::Migration[5.0] 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