From bef45ce3e0a1a883a7f1ee9c656fe6def843481b Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Sun, 24 Apr 2016 18:18:02 +0200 Subject: Updated preprocessors for the v3 Article API. --- src/web/models/article.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/web/models') diff --git a/src/web/models/article.py b/src/web/models/article.py index f4314d8b..0a2a082e 100644 --- a/src/web/models/article.py +++ b/src/web/models/article.py @@ -35,7 +35,7 @@ from web.models.right_mixin import RightMixin class Article(db.Model, RightMixin): "Represent an article from a feed." id = db.Column(db.Integer(), primary_key=True) - entry_id = db.Column(db.String()) + entry_id = db.Column(db.String(), nullable=False) link = db.Column(db.String()) title = db.Column(db.String()) content = db.Column(db.String()) -- cgit