Update models.py
Browse files
models.py
CHANGED
@@ -11,6 +11,7 @@ class User(Base):
|
|
11 |
|
12 |
id = Column(Integer, primary_key=True, index=True)
|
13 |
email = Column(String, unique=True, index=True)
|
|
|
14 |
hashed_password = Column(String)
|
15 |
is_verified = Column(Boolean, default=False)
|
16 |
credits = Column(Integer, default=10000)
|
|
|
11 |
|
12 |
id = Column(Integer, primary_key=True, index=True)
|
13 |
email = Column(String, unique=True, index=True)
|
14 |
+
username = Column(String, unique=True, index=True, nullable=True)
|
15 |
hashed_password = Column(String)
|
16 |
is_verified = Column(Boolean, default=False)
|
17 |
credits = Column(Integer, default=10000)
|