From: Tom Hughes Date: Fri, 21 Feb 2025 23:08:45 +0000 (+0000) Subject: Update model annotations X-Git-Tag: live~181^2~1 X-Git-Url: https://git.openstreetmap.org./rails.git/commitdiff_plain/1213e7009aac7448ac1478c4536cba81fa74f679?ds=inline;hp=--cc Update model annotations --- 1213e7009aac7448ac1478c4536cba81fa74f679 diff --git a/app/models/old_node_tag.rb b/app/models/old_node_tag.rb index 503ecf27a..ee2d78c57 100644 --- a/app/models/old_node_tag.rb +++ b/app/models/old_node_tag.rb @@ -9,7 +9,7 @@ # # Foreign Keys # -# node_tags_id_fkey (["node_id", "version"] => nodes.["node_id", "version"]) +# node_tags_id_fkey ([node_id, version] => nodes[node_id, version]) # class OldNodeTag < ApplicationRecord diff --git a/app/models/old_relation_member.rb b/app/models/old_relation_member.rb index 6d5aaf5c9..f4bdab321 100644 --- a/app/models/old_relation_member.rb +++ b/app/models/old_relation_member.rb @@ -15,7 +15,7 @@ # # Foreign Keys # -# relation_members_id_fkey (["relation_id", "version"] => relations.["relation_id", "version"]) +# relation_members_id_fkey ([relation_id, version] => relations[relation_id, version]) # class OldRelationMember < ApplicationRecord diff --git a/app/models/old_relation_tag.rb b/app/models/old_relation_tag.rb index 39566aeb9..d2070a683 100644 --- a/app/models/old_relation_tag.rb +++ b/app/models/old_relation_tag.rb @@ -9,7 +9,7 @@ # # Foreign Keys # -# relation_tags_id_fkey (["relation_id", "version"] => relations.["relation_id", "version"]) +# relation_tags_id_fkey ([relation_id, version] => relations[relation_id, version]) # class OldRelationTag < ApplicationRecord diff --git a/app/models/old_way_node.rb b/app/models/old_way_node.rb index b2a16c16b..810acc066 100644 --- a/app/models/old_way_node.rb +++ b/app/models/old_way_node.rb @@ -13,7 +13,7 @@ # # Foreign Keys # -# way_nodes_id_fkey (["way_id", "version"] => ways.["way_id", "version"]) +# way_nodes_id_fkey ([way_id, version] => ways[way_id, version]) # class OldWayNode < ApplicationRecord diff --git a/app/models/old_way_tag.rb b/app/models/old_way_tag.rb index 82ce132ec..7b881bb24 100644 --- a/app/models/old_way_tag.rb +++ b/app/models/old_way_tag.rb @@ -9,7 +9,7 @@ # # Foreign Keys # -# way_tags_id_fkey (["way_id", "version"] => ways.["way_id", "version"]) +# way_tags_id_fkey ([way_id, version] => ways[way_id, version]) # class OldWayTag < ApplicationRecord