Unique constraint will not work that way.