diff --git a/app/models/user.py b/app/models/user.py index f78da58..49bab71 100644 --- a/app/models/user.py +++ b/app/models/user.py @@ -6,7 +6,7 @@ class User(db.Model): id = mapped_column(db.Integer, primary_key=True) username = mapped_column(db.String(255), nullable=False) email = mapped_column(db.String(255), nullable=False) - password = mapped_column(db.Text, nullable=False) + password = mapped_column(db.String(255), nullable=False) name = mapped_column(db.String(255), nullable=False) lastname = mapped_column(db.String(255), nullable=False) birth_date = mapped_column(db.Date, nullable=False)