Testys commited on
Commit
4674427
1 Parent(s): d8be4a2

Update users/models.py

Browse files
Files changed (1) hide show
  1. 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
- hashed_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)
 
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)