X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/aa1fb6dbb8c2e71b8ce8c231ae1272a2dfebd75a..4bca24a7beb4a78cecfeaa775d41662497f9930f:/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 aac3c11c4..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[5.0] +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