Two tables are the solution. You can potentially have multiple users to whom you can get the same phone number, for example a work number or a home number that are landline.
CREATE TABLE users ( id SERIAL PRIMARY KEY, name TEXT NOT NULL,
If you really want to enforce "each person has a unique phone number and this phone number cannot be used to contact anyone else," just add the UNIQUE constraint to the collection_number column.
source share