aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2019-09-30 07:16:40 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2019-09-30 07:16:40 +0200
commit01c416c18509bf5f6a54bfa733f837b6499ecca2 (patch)
tree9a5d3d7931e7e2b8102fd2917ca8e436fdec0c51
parentSet resolv to false by default. (diff)
downloadnewspipe-01c416c18509bf5f6a54bfa733f837b6499ecca2.tar.gz
newspipe-01c416c18509bf5f6a54bfa733f837b6499ecca2.tar.bz2
newspipe-01c416c18509bf5f6a54bfa733f837b6499ecca2.zip
fixed wront definition of indexes
-rw-r--r--src/web/models/article.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/web/models/article.py b/src/web/models/article.py
index eb82f71c..d55e59c1 100644
--- a/src/web/models/article.py
+++ b/src/web/models/article.py
@@ -60,12 +60,12 @@ class Article(db.Model, RightMixin):
tags = association_proxy('tag_objs', 'text')
# indexes
- __table_args__ = (
- Index('user_id'),
- Index('user_id', 'category_id'),
- Index('user_id', 'feed_id'),
- Index('ix_article_uid_fid_eid', user_id, feed_id, entry_id)
- )
+ #__table_args__ = (
+ # Index('user_id'),
+ # Index('user_id', 'category_id'),
+ # Index('user_id', 'feed_id'),
+ # Index('ix_article_uid_fid_eid', user_id, feed_id, entry_id)
+ #)
# api whitelists
@staticmethod
bgstack15