We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57aac64 commit 291d4e9Copy full SHA for 291d4e9
app/db/models.py
@@ -61,3 +61,9 @@ class LeaderboardEntry(Base):
61
mentee_id = Column(Integer, ForeignKey("users.id"))
62
total_points = Column(Integer, default=0)
63
tasks_completed = Column(Integer, default=0)
64
+class OTP(Base):
65
+ __tablename__ = "otp"
66
+
67
+ email = Column(String, primary_key=True, index=True)
68
+ otp = Column(String, nullable=False)
69
+ expires_at = Column(DateTime, nullable=False)
0 commit comments