added support for external squads

This commit is contained in:
Vladless
2025-11-30 18:37:18 +03:00
parent 1140a6c050
commit 9f10fed3e7
7 changed files with 48 additions and 3 deletions
+1
View File
@@ -101,6 +101,7 @@ class Tariff(DictLikeMixin, Base):
subgroup_title = Column(String, nullable=True)
sort_order = Column(Integer, nullable=True)
vless = Column(Boolean, default=False)
external_squad: Mapped[str | None] = mapped_column(String(64), nullable=True)
configurable = Column(Boolean, nullable=False, server_default="false")