aboutsummaryrefslogtreecommitdiff
path: root/src/web/models
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2016-04-24 18:18:02 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2016-04-24 18:18:02 +0200
commitbef45ce3e0a1a883a7f1ee9c656fe6def843481b (patch)
tree456cb0bbd09f160160a3d39546bfe27ab3360910 /src/web/models
parentMerge branch 'master' into new-api (diff)
downloadnewspipe-bef45ce3e0a1a883a7f1ee9c656fe6def843481b.tar.gz
newspipe-bef45ce3e0a1a883a7f1ee9c656fe6def843481b.tar.bz2
newspipe-bef45ce3e0a1a883a7f1ee9c656fe6def843481b.zip
Updated preprocessors for the v3 Article API.
Diffstat (limited to 'src/web/models')
-rw-r--r--src/web/models/article.py2
1 files changed, 1 insertions, 1 deletions
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())
bgstack15