Merge pull request #8531 from wy65701436/release-1.8.0-fix

Delete the none scan all schedule in migration
This commit is contained in:
Wang Yan 2019-08-01 17:17:29 +08:00 committed by GitHub
commit ce4c0c19a1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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"}';