profile_picture

This commit is contained in:
CHIEFSOFT\ameye
2026-02-14 07:29:04 -05:00
parent c0ff046455
commit 3218de1f1b
3 changed files with 73 additions and 2 deletions
+3 -1
View File
@@ -29,6 +29,7 @@ class Members(db.Model):
last_login = db.Column(db.DateTime(timezone=False), server_default=func.now(), onupdate=func.now())
phone = db.Column(db.String(25), nullable=True)
full_address = db.Column(db.String(150), nullable=True)
profile_picture = db.Column(db.String(100), nullable=True)
# "account_id": self.account_id,
def to_dict(self):
@@ -54,7 +55,8 @@ class Members(db.Model):
'option_name': self.option_name,
"next_billing": self.next_billing,
"trial_end": self.trial_end,
"stripe_customer_id": self.stripe_customer_id
"stripe_customer_id": self.stripe_customer_id,
"profile_picture": self.profile_picture,
}
def __repr__(self):