Permalink
Browse files

name should be string

  • Loading branch information...
1 parent 67f8c3c commit 6909a13665d95c7d6e0014144d64a56974d25447 @qzio committed Mar 30, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 models.py
View
@@ -47,7 +47,7 @@ def __repr__(self):
class Todoitem(db.Model):
id = db.Column(db.Integer, primary_key=True)
- name = db.Column(db.Integer)
+ name = db.Column(db.String(200))
done = db.Column(db.Integer)
todolist_id = db.Column(db.Integer, db.ForeignKey('todolist.id'))

0 comments on commit 6909a13

Please sign in to comment.