diff options
Diffstat (limited to 'newspipe/models/tag.py')
-rw-r--r-- | newspipe/models/tag.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/newspipe/models/tag.py b/newspipe/models/tag.py index 0a0fe58c..02a6d29f 100644 --- a/newspipe/models/tag.py +++ b/newspipe/models/tag.py @@ -23,9 +23,8 @@ class ArticleTag(db.Model): self.text = text __table_args__ = ( - ForeignKeyConstraint([article_id], ['article.id'], - ondelete='CASCADE'), - Index('ix_articletag_aid', article_id), + ForeignKeyConstraint([article_id], ["article.id"], ondelete="CASCADE"), + Index("ix_articletag_aid", article_id), ) |