X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/45487e1ff8e7d334792440a2b5b3b1067269bfaf..9444ad494f15210a85db8bcfff154f3c79589704:/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