Merge pull request #8534 from wy65701436/cherry-pick-fix

[Cherry-pick]Delete the none scan all schedule in migration
This commit is contained in:
Wenkai Yin(尹文开) 2019-08-02 09:55:07 +08:00 committed by GitHub
commit 2d82a42a08
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); 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"}';