aboutsummaryrefslogtreecommitdiff
path: root/pyaggr3g470r/models.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2014-04-09 21:48:43 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2014-04-09 21:48:43 +0200
commit00df563d08b9ab161b4be29e9ffdce0f1269bd16 (patch)
treedd5563a706a987d95b17b4f4339fb51f22d130b1 /pyaggr3g470r/models.py
parentDelete a feed and its articles. (diff)
downloadnewspipe-00df563d08b9ab161b4be29e9ffdce0f1269bd16.tar.gz
newspipe-00df563d08b9ab161b4be29e9ffdce0f1269bd16.tar.bz2
newspipe-00df563d08b9ab161b4be29e9ffdce0f1269bd16.zip
Articles's link are not unique.
Diffstat (limited to 'pyaggr3g470r/models.py')
-rw-r--r--pyaggr3g470r/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pyaggr3g470r/models.py b/pyaggr3g470r/models.py
index b1cd3448..491e1369 100644
--- a/pyaggr3g470r/models.py
+++ b/pyaggr3g470r/models.py
@@ -110,7 +110,7 @@ class Article(db.Model):
Represent an article from a feed.
"""
id = db.Column(db.Integer, primary_key = True)
- link = db.Column(db.String(), unique = True)
+ link = db.Column(db.String())
title = db.Column(db.String())
content = db.Column(db.String())
readed = db.Column(db.Boolean(), default=False)
bgstack15