]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/changeset_tag.rb
Move close button out of right sidebar content
[rails.git] / app / models / changeset_tag.rb
index cf8af6ba929a298dbdd42d061778d3e44c947289..6b848e1c98f7db33ce181385b2873b7bc940c51d 100644 (file)
@@ -2,7 +2,7 @@
 #
 # Table name: changeset_tags
 #
-#  changeset_id :bigint(8)        not null, primary key
+#  changeset_id :bigint           not null, primary key
 #  k            :string           default(""), not null, primary key
 #  v            :string           default(""), not null
 #
@@ -12,8 +12,6 @@
 #
 
 class ChangesetTag < ApplicationRecord
-  self.primary_keys = "changeset_id", "k"
-
   belongs_to :changeset
 
   validates :changeset, :associated => true