Add migrations sql to repair the execution status when it does not consistent with task status. Closes: #17114 Signed-off-by: chlins <chenyuzh@vmware.com>