X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/12c1d5e6c05813a0697724277b4d8529a1a7c240..70d61a17e54d28dda8bebb3f34faa0565cac5015:/app/models/node_tag.rb diff --git a/app/models/node_tag.rb b/app/models/node_tag.rb index d76a1a0ae..fa82b6a3c 100644 --- a/app/models/node_tag.rb +++ b/app/models/node_tag.rb @@ -2,7 +2,7 @@ # # Table name: current_node_tags # -# node_id :bigint(8) not null, primary key +# node_id :bigint not null, primary key # k :string default(""), not null, primary key # v :string default(""), not null # @@ -13,7 +13,6 @@ class NodeTag < ApplicationRecord self.table_name = "current_node_tags" - self.primary_keys = "node_id", "k" belongs_to :node