Files
coder/coderd/database/migrations/000361_username_length_constraint.up.sql
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

3 lines
90 B
SQL
Raw Normal View History

ALTER TABLE users
ADD CONSTRAINT users_username_min_length
CHECK (length(username) >= 1);