Skip to content

Commit 1aa7948

Browse files
committed
Correct index sequence name for table rhnPackageExtraTagKey
Signed-off-by: Ricardo Mateus <rmateus@suse.com>
1 parent 282c722 commit 1aa7948

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

inter-server-sync.changes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
* Correct index sequence name for table rhnPackageExtraTagKey
2+
13
-------------------------------------------------------------------
24
Wed Aug 9 12:56:27 UTC 2023 - Witek Bedyk <witold.bedyk@suse.com>
35

schemareader/tableFilters.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,8 @@ func applyTableFilters(table Table) Table {
161161
virtualIndexColumns := []string{"image_info_id", "file"}
162162
table.UniqueIndexes[VirtualIndexName] = UniqueIndex{Name: VirtualIndexName, Columns: virtualIndexColumns}
163163
table.MainUniqueIndexName = VirtualIndexName
164+
case "rhnpackageextratagkey":
165+
table.PKSequence = "rhn_package_extra_tags_keys_id_seq"
164166
}
165167
return table
166168
}

0 commit comments

Comments
 (0)