fix: add email_verified and avatar_url fields to User model

This commit is contained in:
Ricel Leite 2026-02-18 23:14:08 -03:00
parent 6c3b97c590
commit 9f04d12a02
1 changed files with 2 additions and 0 deletions

View File

@ -11,8 +11,10 @@ class User(Base):
email = Column(String(255), unique=True, index=True, nullable=False)
hashed_password = Column(String(255), nullable=False)
full_name = Column(String(255))
avatar_url = Column(String(500))
is_active = Column(Boolean, default=True)
is_superuser = Column(Boolean, default=False)
email_verified = Column(Boolean, default=False)
created_at = Column(DateTime, default=datetime.utcnow)
last_login = Column(DateTime)