Skip to content

Commit

Permalink
Correct index sequence name for table rhnPackageExtraTagKey
Browse files Browse the repository at this point in the history
Signed-off-by: Ricardo Mateus <rmateus@suse.com>
  • Loading branch information
rjmateus committed Oct 12, 2023
1 parent 282c722 commit c1a29e1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions inter-server-sync.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
* Correct index sequence name for table rhnPackageExtraTagKey

-------------------------------------------------------------------
Wed Aug 9 12:56:27 UTC 2023 - Witek Bedyk <witold.bedyk@suse.com>

Expand Down
2 changes: 2 additions & 0 deletions schemareader/tableFilters.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,8 @@ func applyTableFilters(table Table) Table {
virtualIndexColumns := []string{"image_info_id", "file"}
table.UniqueIndexes[VirtualIndexName] = UniqueIndex{Name: VirtualIndexName, Columns: virtualIndexColumns}
table.MainUniqueIndexName = VirtualIndexName
case "rhnpackageextratagkey":
table.PKSequence = "rhn_package_extra_tags_keys_id_seq"
}
return table
}

0 comments on commit c1a29e1

Please sign in to comment.