X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/45487e1ff8e7d334792440a2b5b3b1067269bfaf..21801bb2bb0844182f5f6f8f65f2566f5dd4cddb:/app/models/changeset_tag.rb diff --git a/app/models/changeset_tag.rb b/app/models/changeset_tag.rb index 672e6f76c..da9fbce51 100644 --- a/app/models/changeset_tag.rb +++ b/app/models/changeset_tag.rb @@ -6,18 +6,12 @@ # 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