diff --git a/maubot/db.py b/maubot/db.py index 2373fb2..709795d 100644 --- a/maubot/db.py +++ b/maubot/db.py @@ -46,7 +46,7 @@ class DBClient(Base): id: UserID = Column(String(255), primary_key=True) homeserver: str = Column(String(255), nullable=False) - access_token: str = Column(String(255), nullable=False) + access_token: str = Column(Text, nullable=False) enabled: bool = Column(Boolean, nullable=False, default=False) next_batch: SyncToken = Column(String(255), nullable=False, default="")