feat: image upload on product
This commit is contained in:
@@ -26,7 +26,7 @@ class Product(BaseModel):
|
||||
additional_info = Column(String, nullable=True, comment='Дополнительное поле')
|
||||
images = relationship('ProductImage',
|
||||
back_populates='product',
|
||||
|
||||
lazy='selectin',
|
||||
cascade="all, delete-orphan")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user