X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/550c4a3a45814fde5c809334c85f1ebc47659a82..30415443e95494fd9c217c7d83c9aa2d13d203fd:/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