Skip to content

Commit

Permalink
Increase the minimum lenght of a users name from 0 to 1
Browse files Browse the repository at this point in the history
  • Loading branch information
drGrove committed Oct 12, 2020
1 parent 7520ed2 commit b455e06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion schema/sql/schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ create table "hosts" (
create sequence user_id minvalue 4000 maxvalue 59999 no cycle;

create domain username_t text check (
value ~ '^[a-z][a-z0-9]{0,30}$'
value ~ '^[a-z][a-z0-9]{4,30}$'
);

create table "passwd" (
Expand Down

0 comments on commit b455e06

Please sign in to comment.