Backend: broadcast channel select (bot/site/both) / scheduled_broadcasts.channel migration v29 / API v1+v2 channel field. Frontend: global haptic on button click / navigator.vibrate fallback for non-tg.

This commit is contained in:
Vladless
2026-05-07 17:09:48 +00:00
parent 6ebaff08e8
commit c09470fe49
10 changed files with 122 additions and 21 deletions
+1
View File
@@ -39,6 +39,7 @@ class ScheduledBroadcast(DictLikeMixin, Base):
created_by_tg_id = Column(BigInteger, ForeignKey("users.tg_id", ondelete="SET NULL"), nullable=True, index=True)
status = Column(String(32), nullable=False, server_default=sql_text("'scheduled'"), index=True)
send_to = Column(String(32), nullable=False, index=True)
channel = Column(String(8), nullable=False, server_default=sql_text("'both'"))
cluster_name = Column(String, nullable=True)
text = Column(Text, nullable=False)
photo = Column(String, nullable=True)