diff --git a/database.py b/database.py index 28d2fc41..7a2efb99 100644 --- a/database.py +++ b/database.py @@ -27,7 +27,10 @@ class User(Base): telegram_id = Column(Integer, unique=True) def __str__(self): - return f"{self.id} - {self.username}" + return self.username + + def __repr__(self): + return f"" Base.metadata.create_all(engine)