mirror of
https://github.com/maubot/maubot
synced 2025-08-29 15:40:37 +00:00
Add a bunch of stuff
This commit is contained in:
parent
60c3e8a4d3
commit
7924b70549
12 changed files with 373 additions and 10 deletions
|
@ -47,9 +47,9 @@ class DBPlugin(Base):
|
|||
id: str = Column(String(255), primary_key=True)
|
||||
type: str = Column(String(255), nullable=False)
|
||||
enabled: bool = Column(Boolean, nullable=False, default=False)
|
||||
primary_user: str = Column(String(255),
|
||||
ForeignKey("client.id", onupdate="CASCADE", ondelete="RESTRICT"),
|
||||
nullable=False)
|
||||
primary_user: UserID = Column(String(255),
|
||||
ForeignKey("client.id", onupdate="CASCADE", ondelete="RESTRICT"),
|
||||
nullable=False)
|
||||
|
||||
|
||||
class DBClient(Base):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue