[34288f42] Keine Zusammenfassung angegeben.
Keine Zusammenfassung angegeben.
This commit is contained in:
@@ -49,6 +49,16 @@ class ReleaseHistory(Base):
|
||||
recipient_count = Column(Integer)
|
||||
scheduled_time = Column(String, nullable=True)
|
||||
|
||||
class ReminderHistory(Base):
|
||||
__tablename__ = "reminder_history"
|
||||
id = Column(Integer, primary_key=True)
|
||||
job_id = Column(String, index=True)
|
||||
timestamp = Column(DateTime, default=datetime.datetime.utcnow)
|
||||
recipient_count = Column(Integer)
|
||||
max_logins = Column(Integer)
|
||||
recipients_json = Column(String) # JSON list of emails/names/children
|
||||
scheduled_time = Column(String, nullable=True)
|
||||
|
||||
class JobParticipant(Base):
|
||||
__tablename__ = "job_participants"
|
||||
id = Column(Integer, primary_key=True)
|
||||
@@ -64,6 +74,7 @@ class JobParticipant(Base):
|
||||
logins = Column(Integer, default=0)
|
||||
has_orders = Column(Integer, default=0) # 0 for false, 1 for true
|
||||
digital_package_ordered = Column(Integer, default=0) # 0 for false, 1 for true
|
||||
quick_login_url = Column(String, nullable=True)
|
||||
last_synced = Column(DateTime, default=datetime.datetime.utcnow)
|
||||
|
||||
Base.metadata.create_all(bind=engine)
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 56 KiB |
Reference in New Issue
Block a user