config bans, cascade deletion, add albemic, add enable_stan and get_quotes

This commit is contained in:
Rykov7
2023-04-06 01:11:01 +03:00
parent bcce3aa629
commit 99148b5bb6
5 changed files with 45 additions and 16 deletions
+1 -1
View File
@@ -21,7 +21,7 @@ class Chat(Base):
title = Column(String)
# Settings
quotes = relationship('Quote', backref='chat')
quotes = relationship('Quote', backref='chat', cascade='all, delete')
antispam = Column(Boolean)
report = Column(Boolean)
reminder = Column(Boolean)