Change item short effects to markdown.
authorEevee <git@veekun.com>
Sun, 3 Apr 2011 09:16:15 +0000 (02:16 -0700)
committerEevee <git@veekun.com>
Sun, 3 Apr 2011 09:16:15 +0000 (02:16 -0700)
pokedex/db/tables.py

index 5e7e99b..d9905b6 100644 (file)
@@ -500,7 +500,7 @@ create_translation_table('item_names', Item, 'names',
         info=dict(description="The name", format='plaintext', official=True, ripped=True)),
 )
 create_translation_table('item_prose', Item, 'prose',
         info=dict(description="The name", format='plaintext', official=True, ripped=True)),
 )
 create_translation_table('item_prose', Item, 'prose',
-    short_effect = Column(Unicode(256), nullable=False,
+    short_effect = Column(markdown.MarkdownColumn(256), nullable=False,
         info=dict(description="A short summary of the effect", format='plaintext')),
     effect = Column(markdown.MarkdownColumn(5120), nullable=False,
         info=dict(description=u"Detailed description of the item's effect.", format='markdown')),
         info=dict(description="A short summary of the effect", format='plaintext')),
     effect = Column(markdown.MarkdownColumn(5120), nullable=False,
         info=dict(description=u"Detailed description of the item's effect.", format='markdown')),