~cedric/newspipe

ec098abea86fa93946a5282a155af29ae16d56f0 — C├ędric Bonhomme 9 days ago 3b88722
uncomment Indexes
1 files changed, 6 insertions(+), 6 deletions(-)

M newspipe/models/article.py
M newspipe/models/article.py => newspipe/models/article.py +6 -6
@@ 63,12 63,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