[sql] Add unique constraint to combination of two columns