migrated uncompleted/complete/failed into database