aboutsummaryrefslogtreecommitdiff
path: root/newspipe/models/tag.py
diff options
context:
space:
mode:
Diffstat (limited to 'newspipe/models/tag.py')
-rw-r--r--newspipe/models/tag.py5
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),
)
bgstack15