dataase field updateds and model updateds

This commit is contained in:
2026-03-11 13:20:49 +05:30
parent 21f8576e33
commit c5b3e7bd60
17 changed files with 391 additions and 440 deletions

View File

@@ -5,7 +5,7 @@ class User(db.Model):
__tablename__ = "users"
id = db.Column(db.Integer, primary_key=True)
name = db.Column(db.String(120), nullable=False)
name = db.Column(db.String(200), nullable=False)
email = db.Column(db.String(120), unique=True, nullable=False)
password_hash = db.Column(db.String(255), nullable=False)