Skip to content

We could enforce non-empty string user name at DB level #1078

@kasbah

Description

@kasbah

Currently the frontend backend enforces this. We could add a CHECK constraint.

ALTER TABLE users ADD CONSTRAINT users_username_not_empty CHECK (username <> '');

Metadata

Metadata

Assignees

No one assigned

    Labels

    backendBackend, including web server and database

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions