GREG-17: Adding constraint to avoid duplicate roles
I added a constraint for the PersonRole-table so that the "person_id", "role_id", "unit_id", "start_date", "end_date" combination has to be unique. The same person cannot have the same role with the same start and end date in a unit.
Edited by Tore.Brede