X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/73426ea3838a2f92f5b766b51e017d529c456471..1ffc19192e089c4e75d9db7889d08cd67c1322db:/app/models/relation_tag.rb diff --git a/app/models/relation_tag.rb b/app/models/relation_tag.rb index 758ed37cc..d23192b8e 100644 --- a/app/models/relation_tag.rb +++ b/app/models/relation_tag.rb @@ -2,7 +2,7 @@ # # Table name: current_relation_tags # -# relation_id :bigint(8) not null, primary key +# relation_id :bigint not null, primary key # k :string default(""), not null, primary key # v :string default(""), not null # @@ -13,7 +13,6 @@ class RelationTag < ApplicationRecord self.table_name = "current_relation_tags" - self.primary_keys = "relation_id", "k" belongs_to :relation