fix: add email_verified and avatar_url fields to User model
This commit is contained in:
parent
6c3b97c590
commit
9f04d12a02
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue