mirror of
https://github.com/goharbor/harbor.git
synced 2024-08-26 14:03:27 +02:00
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; |