Update users/models.py
Browse files- users/models.py +1 -1
users/models.py
CHANGED
@@ -9,7 +9,7 @@ class User(Base):
|
|
9 |
id = Column(Integer, primary_key=True, index=True)
|
10 |
email = Column(String, unique=True, index=True, nullable=False)
|
11 |
username = Column(String, unique=True, index=True, nullable=False)
|
12 |
-
|
13 |
first_name = Column(String, nullable=True)
|
14 |
last_name = Column(String, nullable=True)
|
15 |
age = Column(Integer, nullable=True)
|
|
|
9 |
id = Column(Integer, primary_key=True, index=True)
|
10 |
email = Column(String, unique=True, index=True, nullable=False)
|
11 |
username = Column(String, unique=True, index=True, nullable=False)
|
12 |
+
password = Column(String, nullable=False)
|
13 |
first_name = Column(String, nullable=True)
|
14 |
last_name = Column(String, nullable=True)
|
15 |
age = Column(Integer, nullable=True)
|