add t.references to hazards migration