fix(phase1): add photo fields to schemas and set datetime default
This commit is contained in:
@@ -54,7 +54,7 @@ class Item(Base):
|
||||
# Photo fields for item onboarding
|
||||
photo_path = Column(String, nullable=True)
|
||||
photo_thumbnail_path = Column(String, nullable=True)
|
||||
photo_upload_date = Column(DateTime, nullable=True)
|
||||
photo_upload_date = Column(DateTime, default=datetime.datetime.now, nullable=True)
|
||||
|
||||
# Generic box/container association for multi-item OCR scanning
|
||||
box_label = Column(String, index=True, nullable=True)
|
||||
|
||||
Reference in New Issue
Block a user