Delete the nono scan all schedule in migration

Signed-off-by: wang yan <wangyan@vmware.com>
This commit is contained in:
wang yan 2019-08-01 15:26:21 +08:00
parent b7803571d4
commit 6987825ffd
1 changed files with 5 additions and 0 deletions

View File

@ -23,3 +23,8 @@ END $$;
ALTER TABLE user_group ADD CONSTRAINT unique_group_name UNIQUE (group_name);
/*
Fix issue https://github.com/goharbor/harbor/issues/8526, delete the none scan_all schedule.
*/
UPDATE admin_job SET deleted='true' WHERE cron_str='{"type":"none"}';