fix: updates user model password max length
This commit is contained in:
@@ -6,7 +6,7 @@ class User(db.Model):
|
|||||||
id = mapped_column(db.Integer, primary_key=True)
|
id = mapped_column(db.Integer, primary_key=True)
|
||||||
username = mapped_column(db.String(255), nullable=False)
|
username = mapped_column(db.String(255), nullable=False)
|
||||||
email = 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)
|
name = mapped_column(db.String(255), nullable=False)
|
||||||
lastname = mapped_column(db.String(255), nullable=False)
|
lastname = mapped_column(db.String(255), nullable=False)
|
||||||
birth_date = mapped_column(db.Date, nullable=False)
|
birth_date = mapped_column(db.Date, nullable=False)
|
||||||
|
|||||||
Reference in New Issue
Block a user