mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-28 21:25:55 +01:00
c04f3a2aac
When the core service cannot response the checkin request in time, duplicated execution records may be created, this commit introduces the revision column to make sure there is only one record for one schedule trigger Signed-off-by: Wenkai Yin <yinw@vmware.com>
2 lines
97 B
SQL
2 lines
97 B
SQL
ALTER TABLE schedule ADD COLUMN IF NOT EXISTS revision integer;
|
|
UPDATE schedule set revision = 0; |