fix: removes username from user model
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user