]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/node_tag.rb
Merge remote-tracking branch 'upstream/pull/5735'
[rails.git] / app / models / node_tag.rb
index d76a1a0ae865a7e8e86cd3f8c93e3c87c75a1928..fa82b6a3c52b9a73be64967c065efa33f5429e39 100644 (file)
@@ -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