]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/changeset_tag.rb
Drop explicit lengths from bigint columns
[rails.git] / app / models / changeset_tag.rb
index 672e6f76ca90c1e6cbdeebeb51d57174e68be239..6b848e1c98f7db33ce181385b2873b7bc940c51d 100644 (file)
@@ -2,22 +2,16 @@
 #
 # 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
 #
-# Indexes
-#
-#  changeset_tags_id_idx  (changeset_id)
-#
 # Foreign Keys
 #
 #  changeset_tags_id_fkey  (changeset_id => changesets.id)
 #
 
 class ChangesetTag < ApplicationRecord
-  self.primary_keys = "changeset_id", "k"
-
   belongs_to :changeset
 
   validates :changeset, :associated => true