"Refactor guest blueprint and related database schema"

This commit is contained in:
2025-05-29 11:30:24 +02:00
parent 464ea89149
commit 61630a97c6
5 changed files with 326 additions and 613 deletions

View File

@@ -762,6 +762,7 @@ class GuestRequest(Base):
otp_code = Column(String(100), nullable=True) # Hash des OTP-Codes
job_id = Column(Integer, ForeignKey("jobs.id"), nullable=True)
author_ip = Column(String(50))
otp_used_at = Column(DateTime, nullable=True) # Zeitpunkt der OTP-Verwendung
printer = relationship("Printer")
job = relationship("Job")