Merge "Fix the stories relation in StoryTag"

This commit is contained in:
Zuul 2019-01-16 01:38:06 +00:00 committed by Gerrit Code Review
commit ff6117f801

View File

@ -402,7 +402,7 @@ class StoryTag(ModelBuilder, Base):
schema.UniqueConstraint('name', name='uniq_story_tags_name'), schema.UniqueConstraint('name', name='uniq_story_tags_name'),
) )
name = Column(String(CommonLength.top_short_length)) name = Column(String(CommonLength.top_short_length))
stories = relationship('StoryTag', secondary='story_storytags') stories = relationship('Story', secondary='story_storytags')
# Authorization models # Authorization models