Issue Foreign key constraint in EPG resolved

please merge this code. in this code i have removed some s.o.p statements from upload status and added one catch block to epg uploadstatus