tfw work uses mysql without foreign key constraints and relies on orphaned relationships in business logic