Added blog data

This commit is contained in:
CHIEFSOFT\ameye
2025-10-12 14:32:15 -04:00
parent bf553f3f61
commit 341d92b1ee
3 changed files with 17 additions and 9 deletions
+2
View File
@@ -35,6 +35,7 @@ class Products(db.Model):
list_order = db.Column(db.Integer, nullable=True, default=0)
contacts = db.Column(db.Integer, nullable=True, default=0)
comments = db.Column(db.Integer, nullable=True, default=0)
blog_product_id = db.Column(db.String(25), nullable=True)
members_products = relationship(
"MembersProducts",
@@ -116,6 +117,7 @@ class Products(db.Model):
'id': self.id,
'uid': self.uid,
'product_id': self.product_id,
'blog_product_id': self.blog_product_id,
'name': self.name,
'description' : self.description,
'start_url': self.start_url,