shop product refactoring
This commit is contained in:
@@ -64,7 +64,7 @@ class MarketplaceProduct(Base, TimestampMixin):
|
||||
primaryjoin="MarketplaceProduct.gtin == Stock.gtin",
|
||||
viewonly=True,
|
||||
)
|
||||
shop_products = relationship("ShopProduct", back_populates="product")
|
||||
product = relationship("Product", back_populates="marketplace_product")
|
||||
|
||||
# Additional indexes for marketplace queries
|
||||
__table_args__ = (
|
||||
|
||||
Reference in New Issue
Block a user