Добавлена таблица для отложенных сообщений
This commit is contained in:
@@ -231,6 +231,13 @@ class AllowedDomain(Base):
|
|||||||
domain: Mapped[str] = mapped_column(Text, index=True, nullable=False, unique=True)
|
domain: Mapped[str] = mapped_column(Text, index=True, nullable=False, unique=True)
|
||||||
initiator_id: Mapped[discord_identificator]
|
initiator_id: Mapped[discord_identificator]
|
||||||
|
|
||||||
|
class ScheduledMessage(Base):
|
||||||
|
__tablename__ = "scheduled_messages"
|
||||||
|
message_id: Mapped[discord_identificator_pk]
|
||||||
|
webhook_id: Mapped[discord_identificator]
|
||||||
|
timestamp: Mapped[float | None] = mapped_column(Float)
|
||||||
|
|
||||||
|
|
||||||
all_data = {
|
all_data = {
|
||||||
'base': Base
|
'base': Base
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user