fix: updates user model password max length

This commit is contained in:
2024-11-04 23:27:33 -03:00
parent 87a8d6b35a
commit 2eb6de9df0

View File

@@ -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)