Added blog data
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user