Merge remote-tracking branch 'origin/main' into feat/apps-in-toss

This commit is contained in:
minaChoi committed 2026-10-26 15:33:39 +09:00
commit 2627dd2685
200 files changed
+2956 -843

No files matched your search

+14
View File
@@ -323,6 +323,7 @@ class CardSet(Base):
created_at: Mapped[datetime] = mapped_column(DateTime(timezone=True), server_default=func.now())
published_at: Mapped[Optional[datetime]] = mapped_column(DateTime(timezone=True), nullable=True)
ig_media_id: Mapped[Optional[str]] = mapped_column(String(40), nullable=True)
hashtags: Mapped[Optional[str]] = mapped_column(Text, nullable=True)
class CardImage(Base):
@@ -333,6 +334,19 @@ class CardImage(Base):
data: Mapped[bytes] = mapped_column(LargeBinary)
class Reel(Base):
__tablename__ = "reel"
reel_id: Mapped[int] = mapped_column(BigInteger, primary_key=True)
title: Mapped[str] = mapped_column(String(80))
caption: Mapped[str] = mapped_column(Text, default="")
hashtags: Mapped[Optional[str]] = mapped_column(Text, nullable=True)
video: Mapped[bytes] = mapped_column(LargeBinary)
cover: Mapped[Optional[bytes]] = mapped_column(LargeBinary, nullable=True)
ig_media_id: Mapped[Optional[str]] = mapped_column(String(40), nullable=True)
created_at: Mapped[datetime] = mapped_column(DateTime(timezone=True), server_default=func.now())
class User(Base):
__tablename__ = "users"