fixed several bugs concerning creating unique indices, these must also form a constraint name