Add unique constraint to contract number