X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/124ec2e9d560e0df291e5a8e5aa67ef5db2f5d46..d3e91a79ff3ab35006b233d39e059ffa406ba443:/db/migrate/007_add_relations.rb diff --git a/db/migrate/007_add_relations.rb b/db/migrate/007_add_relations.rb index 12684abc8..258f1c5bc 100644 --- a/db/migrate/007_add_relations.rb +++ b/db/migrate/007_add_relations.rb @@ -1,6 +1,6 @@ require "migrate" -class AddRelations < ActiveRecord::Migration +class AddRelations < ActiveRecord::Migration[5.0] def self.up # enums work like strings but are more efficient create_enumeration :nwr_enum, %w[Node Way Relation]