Skip to content

Only allow unique phone number should use the unique constraint #10

@AdamBissonnette

Description

@AdamBissonnette

Instead of doing a select based on the value of the phone number it'd be ideal to use the built in "unique" constraint then catch the exception when / if it is fired since this is probably more efficient.

Unique Constraint Docs

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions