Added a short_effect column to the items table.

This commit is contained in:
Eevee 2010-12-12 16:35:04 -08:00
parent 56066f34b9
commit d280cfac94
2 changed files with 671 additions and 669 deletions

File diff suppressed because it is too large Load diff

View file

@ -363,6 +363,8 @@ class Item(TableBase):
info=dict(description=u"Power of the move Fling when used with this item.")) info=dict(description=u"Power of the move Fling when used with this item."))
fling_effect_id = Column(Integer, ForeignKey('item_fling_effects.id'), nullable=True, fling_effect_id = Column(Integer, ForeignKey('item_fling_effects.id'), nullable=True,
info=dict(description=u"ID of the fling-effect of the move Fling when used with this item. Note that these are different from move effects.")) info=dict(description=u"ID of the fling-effect of the move Fling when used with this item. Note that these are different from move effects."))
short_effect = Column(Unicode(256), nullable=False,
info=dict(description="A short summary of the effect", format='plaintext'))
effect = Column(markdown.MarkdownColumn(5120), nullable=False, effect = Column(markdown.MarkdownColumn(5120), nullable=False,
info=dict(description=u"Detailed English description of the item's effect.", format='markdown')) info=dict(description=u"Detailed English description of the item's effect.", format='markdown'))