X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/34e3e51456774127d43408b7ab65c24f41373f62..f86bb781c9e2f93f7f3a5b638bfc9c3d32160129:/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 c5a4a4801..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, ["open", "closed", "hidden"] + create_enumeration :map_bug_status_enum, %w[open closed hidden] create_table :map_bugs do |t| t.integer :latitude, :null => false