model/traces: Added missing ON DELETE constraint to database