aboutsummaryrefslogtreecommitdiff
path: root/wqflask/wqflask/model.py
diff options
context:
space:
mode:
authorSam2013-10-02 02:50:37 -0500
committerSam2013-10-02 02:50:37 -0500
commit6c7fed36f892e92245cbfd9b89e4b8d6ff608e95 (patch)
tree8610b68275224e805c3938e30a39f67f6800b997 /wqflask/wqflask/model.py
parenta5cd9ac66277b0eb87cad874e21967ae928797b1 (diff)
downloadgenenetwork2-6c7fed36f892e92245cbfd9b89e4b8d6ff608e95.tar.gz
Half the verification code for email addresses is done
Diffstat (limited to 'wqflask/wqflask/model.py')
-rw-r--r--wqflask/wqflask/model.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/wqflask/wqflask/model.py b/wqflask/wqflask/model.py
index 1f7297a2..a3cd63a5 100644
--- a/wqflask/wqflask/model.py
+++ b/wqflask/wqflask/model.py
@@ -10,7 +10,7 @@ from flask.ext.sqlalchemy import SQLAlchemy
from wqflask import app
-from sqlalchemy import Column, Integer, String, Table, ForeignKey, Unicode, Boolean, DateTime
+from sqlalchemy import Column, Integer, String, Table, ForeignKey, Unicode, Boolean, DateTime, Text
from sqlalchemy.orm import relationship, backref
from wqflask.database import Base
@@ -60,7 +60,7 @@ class User(Base):
email_address = Column(Unicode(50), unique=True, nullable=False)
# Todo: Turn on strict mode for Mysql
- password = Column(Unicode(500), nullable=False)
+ password = Column(Text, nullable=False)
full_name = Column(Unicode(50))
organization = Column(Unicode(50))