catalogue operations, db migr and so on.
pre release version.
This commit is contained in:
@@ -24,7 +24,7 @@ class Product(Base):
|
||||
name: Mapped[str] = mapped_column(Text, nullable=False)
|
||||
description: Mapped[Optional[str]] = mapped_column(Text)
|
||||
price: Mapped[int] = mapped_column()
|
||||
img_path: Mapped[str] = mapped_column(Text, nullable=False, unique=True)
|
||||
img_path: Mapped[str] = mapped_column(Text, nullable=True)
|
||||
file_id: Mapped[str] = mapped_column(Text, nullable=True, unique=True)
|
||||
|
||||
search_vector: Mapped[str] = mapped_column(TSVECTOR)
|
||||
|
||||
Reference in New Issue
Block a user