aboutsummaryrefslogtreecommitdiff
path: root/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'models.py')
-rw-r--r--models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/models.py b/models.py
index dad81a0..605b668 100644
--- a/models.py
+++ b/models.py
@@ -14,7 +14,7 @@ class User(Base):
__tablename__ = "users"
id = Column(Integer, primary_key=True)
username = Column(String, unique=True, nullable=False)
- password = Column(Text, nullable=False)
+ hashed_password = Column(Text, nullable=False)
api_key = Column(String(20), unique=True, nullable=False)