fix scheduler orario start, immagine parcheggio, added more logs function
This commit is contained in:
@@ -241,15 +241,7 @@ class NotificationLog(Base):
|
||||
)
|
||||
|
||||
|
||||
notification_type = Column(Enum(NotificationType, values_callable=lambda obj: [e.value for e in obj]), nullable=False) # parking_change
|
||||
subject = Column(Text, nullable=False)
|
||||
body = Column(Text, nullable=False)
|
||||
created_at = Column(DateTime, default=datetime.utcnow)
|
||||
sent_at = Column(DateTime) # null = not sent yet
|
||||
|
||||
__table_args__ = (
|
||||
Index('idx_queue_pending', 'sent_at'),
|
||||
)
|
||||
|
||||
|
||||
class OfficeSpot(Base):
|
||||
|
||||
Reference in New Issue
Block a user