Skip to content
Snippets Groups Projects
Commit 9de5e53d authored by Steven Loria's avatar Steven Loria Committed by GitHub
Browse files

Merge pull request #80 from Cabalist/master

Fix for Bcrypt and SqlAlchemy type casting in Postgres
parents 11da3ab8 570d5bc5
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,7 @@ class User(UserMixin, SurrogatePK, Model):
username = Column(db.String(80), unique=True, nullable=False)
email = Column(db.String(80), unique=True, nullable=False)
#: The hashed password
password = Column(db.String(128), nullable=True)
password = Column(db.Binary(128), nullable=True)
created_at = Column(db.DateTime, nullable=False, default=dt.datetime.utcnow)
first_name = Column(db.String(30), nullable=True)
last_name = Column(db.String(30), nullable=True)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment