I haven't followed along exactly what you are doing...be careful with those cascade deletes though as they will delete data you might not want to delete. I generally don't set up database wide relationships but my tables are all designed properly. Then I define relationships in queries as I go...