Products Rendering, removal of deprecated files
This commit is contained in:
@@ -23,6 +23,8 @@ 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)
|
||||
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