fix part 1

This commit is contained in:
Danilo Reyes
2025-11-02 18:09:07 -06:00
parent ce353f8b49
commit 376ac1dec9
8 changed files with 637 additions and 161 deletions

View File

@@ -36,7 +36,7 @@ class Image(Base):
mime_type: Mapped[str] = mapped_column(String(100), nullable=False)
width: Mapped[int] = mapped_column(Integer, nullable=False)
height: Mapped[int] = mapped_column(Integer, nullable=False)
metadata: Mapped[dict] = mapped_column(JSONB, nullable=False)
image_metadata: Mapped[dict] = mapped_column(JSONB, nullable=False)
created_at: Mapped[datetime] = mapped_column(DateTime, nullable=False, default=datetime.utcnow)
reference_count: Mapped[int] = mapped_column(Integer, nullable=False, default=0)