fix: removes username from user model

This commit is contained in:
2024-12-02 21:42:49 -03:00
parent e02ea505de
commit da565ea275
2 changed files with 0 additions and 2 deletions

View File

@@ -4,7 +4,6 @@ from app.extensions import db
class User(db.Model):
id = mapped_column(db.Integer, primary_key=True, autoincrement=True)
username = mapped_column(db.String(255), nullable=False)
email = mapped_column(db.String(255), nullable=False, unique=True)
password = mapped_column(db.String(255), nullable=False)
name = mapped_column(db.String(255), nullable=False)