Fixing db constraints for EPG Contract association

Adding delete-orphan to casacade contraints