mirror of
https://github.com/maubot/maubot
synced 2025-08-29 15:40:37 +00:00
Add configuration for plugins
This commit is contained in:
parent
ac5f059ef4
commit
b29a7d186e
7 changed files with 57 additions and 9 deletions
|
@ -58,6 +58,7 @@ class DBPlugin(Base):
|
|||
primary_user: UserID = Column(String(255),
|
||||
ForeignKey("client.id", onupdate="CASCADE", ondelete="RESTRICT"),
|
||||
nullable=False)
|
||||
config: str = Column(Text, nullable=False, default='')
|
||||
|
||||
|
||||
class DBClient(Base):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue