Skip to content

username should be unique in database #50

Description

@abdhalees

since you're checking for the username to not be used before in your validation file

signupRet.msg = 'username is already a member';

maybe it would be better to make it a constraint in your schema.

username VARCHAR(100) NOT NULL,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions