Clean imageinfo listings during Koji staging sync
This commit is contained in:
parent
861c36103d
commit
4891cfb03e
1 changed files with 5 additions and 0 deletions
|
@ -24,6 +24,11 @@
|
|||
-- [unset kojihub ServerOffline setting]
|
||||
|
||||
|
||||
-- wipe obsolete table that only causes problems with the sync, could
|
||||
-- even be dropped entirely (together with imageinfo table).
|
||||
select now() as time, 'wiping imageinfo listings' as msg;
|
||||
delete from imageinfo_listing;
|
||||
|
||||
-- bump sequences (not strictly needed anymore)
|
||||
select now() as time, 'bumping sequences' as msg;
|
||||
alter sequence task_id_seq restart with 90000000;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue