From fbf9b59456ca3ef15d845d3ae1e9665387e73f3d Mon Sep 17 00:00:00 2001 From: Tim Van Baak Date: Wed, 5 May 2021 00:05:09 -0700 Subject: [PATCH] Fix FK name on ArticleIndexRule --- amanuensis/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/amanuensis/models.py b/amanuensis/models.py index fa44795..79a1429 100644 --- a/amanuensis/models.py +++ b/amanuensis/models.py @@ -456,7 +456,7 @@ class ArticleIndexRule(ModelBase): character_id = Column(Integer, ForeignKey('character.id'), nullable=False) # The index to which the character is restricted - index = Column(Integer, ForeignKey('index.id'), nullable=False) + index_id = Column(Integer, ForeignKey('article_index.id'), nullable=False) # The turn in which this rule applies turn = Column(Integer, nullable=False)