Fix FK name on ArticleIndexRule

This commit is contained in:
Tim Van Baak 2021-05-05 00:05:09 -07:00
parent 8a4d666248
commit fbf9b59456
1 changed files with 1 additions and 1 deletions

View File

@ -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)