X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/6db326aa1f084a062a3b658876bc01bf650f5702..1b288d40c7fff3d3be8d82d4e96c9008778f4dba:/db/migrate/007_add_relations.rb diff --git a/db/migrate/007_add_relations.rb b/db/migrate/007_add_relations.rb index 05d3c634b..29ba7ee38 100644 --- a/db/migrate/007_add_relations.rb +++ b/db/migrate/007_add_relations.rb @@ -1,9 +1,7 @@ -require "migrate" - 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] + create_enum :nwr_enum, %w[Node Way Relation] # a relation can have members much like a way can have nodes. # differences: