This commit is contained in:
CHIEFSOFT\ameye
2025-08-12 11:59:47 -04:00
parent 14a5e6101a
commit 77f1028c70
7 changed files with 124 additions and 3 deletions
+2
View File
@@ -21,11 +21,13 @@ class Members(db.Model):
firstname = db.Column(db.String(25), nullable=False)
lastname = db.Column(db.String(100), nullable=True)
country = db.Column(db.String(3), nullable=True)
profile_completed = db.Column(db.DateTime(timezone=False))
def to_dict(self):
return {
"id": self.id,
"uid": str(self.uid),
"profile_completed": self.profile_completed,
"username": self.account_id,
"account_id": self.username,
"password": self.password,