Skip to content

Commit

Permalink
Make user.pubid non-nullable
Browse files Browse the repository at this point in the history
  • Loading branch information
mtomilov committed Jan 16, 2025
1 parent 37c7316 commit 5cc8fb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion h/models/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ def __table_args__(cls): # pylint:disable=no-self-argument
sa.Text(),
default=partial(generate, USER_PUBID_LENGTH),
unique=True,
nullable=True,
nullable=False,
)

#: Username as chosen by the user on registration
Expand Down

0 comments on commit 5cc8fb8

Please sign in to comment.