added unique constraint to name in Building