mirror of
https://github.com/maubot/maubot.git
synced 2024-10-01 01:06:10 -04:00
Change access_token field to text. Fixes #44
This commit is contained in:
parent
e3974dbec0
commit
a0ebb2d215
@ -46,7 +46,7 @@ class DBClient(Base):
|
|||||||
|
|
||||||
id: UserID = Column(String(255), primary_key=True)
|
id: UserID = Column(String(255), primary_key=True)
|
||||||
homeserver: str = Column(String(255), nullable=False)
|
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)
|
enabled: bool = Column(Boolean, nullable=False, default=False)
|
||||||
|
|
||||||
next_batch: SyncToken = Column(String(255), nullable=False, default="")
|
next_batch: SyncToken = Column(String(255), nullable=False, default="")
|
||||||
|
Loading…
Reference in New Issue
Block a user