This commit is contained in:
Aevann1 2021-07-22 21:19:49 +02:00
parent 242fb8414e
commit fe8c633f30
949 changed files with 200 additions and 200 deletions

15
drama/classes/alts.py Normal file
View file

@ -0,0 +1,15 @@
from sqlalchemy import *
from drama.__main__ import Base
class Alt(Base):
__tablename__ = "alts"
id = Column(Integer, primary_key=True)
user1 = Column(Integer, ForeignKey("users.id"))
user2 = Column(Integer, ForeignKey("users.id"))
is_manual = Column(Boolean, default=False)
def __repr__(self):
return f"<Alt(id={self.id})>"