X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/dbd88d893f3c3fce9cafd666b94396988646d81f..32627a1377aaad18d95f133022bbe24a2f214910:/db/migrate/007_add_relations.rb?ds=inline diff --git a/db/migrate/007_add_relations.rb b/db/migrate/007_add_relations.rb index 12684abc8..1e5bc5d3a 100644 --- a/db/migrate/007_add_relations.rb +++ b/db/migrate/007_add_relations.rb @@ -1,6 +1,4 @@ -require "migrate" - -class AddRelations < ActiveRecord::Migration +class AddRelations < ActiveRecord::Migration[4.2] def self.up # enums work like strings but are more efficient create_enumeration :nwr_enum, %w[Node Way Relation]