Merge branch 'master' of ssh://gitea.cato447.de:222/cato447/tutor-tool
This commit is contained in:
@@ -52,7 +52,7 @@ class Password(db.Model):
|
|||||||
__tablename__ = "password"
|
__tablename__ = "password"
|
||||||
|
|
||||||
id: Mapped[int] = mapped_column(primary_key=True)
|
id: Mapped[int] = mapped_column(primary_key=True)
|
||||||
value: Mapped[str] = mapped_column(String(60))
|
value: Mapped[str] = mapped_column(String(60), unique=True)
|
||||||
expires_at: Mapped[Optional[datetime]] = mapped_column(
|
expires_at: Mapped[Optional[datetime]] = mapped_column(
|
||||||
UTCDateTime()
|
UTCDateTime()
|
||||||
) # Optional expiration
|
) # Optional expiration
|
||||||
|
|||||||
Reference in New Issue
Block a user