Skip to content

Commit

Permalink
Increase login column size for username
Browse files Browse the repository at this point in the history
The migration was created already on 3583089 but we missed
updating the model.
  • Loading branch information
anarute committed Oct 12, 2023
1 parent 4f09b8c commit c79521c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/models/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class User(Base):

id = Column(Integer, primary_key=True, autoincrement=True, nullable=False)
password = Column(String(length=256), nullable=True)
login = Column(String(length=20), nullable=False, unique=True)
login = Column(String(length=100), nullable=False, unique=True)


class UserGroup(Base):
Expand Down

0 comments on commit c79521c

Please sign in to comment.