Rename StatHint.text to .message (clashed with the all-texts attribute)

This commit is contained in:
Petr Viktorin 2011-03-13 15:42:50 +02:00 committed by Eevee
parent 1053b35471
commit e5f7cd2aed
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
stat_hint_id,language_id,text
stat_hint_id,language_id,message
1,9,Loves to eat
2,9,Proud of its power
3,9,Sturdy body

1 stat_hint_id language_id text message
2 1 9 Loves to eat
3 2 9 Proud of its power
4 3 9 Sturdy body

View file

@ -1365,7 +1365,7 @@ class StatHint(TableBase):
info=dict(description=u"ID of the highest stat"))
gene_mod_5 = Column(Integer, nullable=False, index=True,
info=dict(description=u"Value of the highest stat modulo 5"))
text = TextColumn(Unicode(24), plural='texts', nullable=False, index=True, unique=True,
message = TextColumn(Unicode(24), plural='messages', nullable=False, index=True, unique=True,
info=dict(description=u"The text displayed", official=True, format='plaintext'))
class SuperContestCombo(TableBase):