X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/ddd5b4cf19a92582fd114914be5bd5a04d3522a7..e7087af6bc0d7db9ca3f3c21be76e9c8a9c343b4:/app/models/way_tag.rb diff --git a/app/models/way_tag.rb b/app/models/way_tag.rb index 101085f12..3f6ac8ce3 100644 --- a/app/models/way_tag.rb +++ b/app/models/way_tag.rb @@ -1,5 +1,8 @@ class WayTag < ActiveRecord::Base set_table_name 'current_way_tags' + # false multipart key + set_primary_keys :id, :k, :v + belongs_to :way, :foreign_key => 'id' end