From 01c416c18509bf5f6a54bfa733f837b6499ecca2 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Mon, 30 Sep 2019 07:16:40 +0200 Subject: fixed wront definition of indexes --- src/web/models/article.py | 12 ++++++------ 1 file 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 -- cgit