Rename StatHint.text to .message (clashed with the all-texts attribute)
authorPetr Viktorin <encukou@gmail.com>
Sun, 13 Mar 2011 13:42:50 +0000 (15:42 +0200)
committerEevee <git@veekun.com>
Sun, 13 Mar 2011 22:43:01 +0000 (15:43 -0700)
pokedex/data/csv/stat_hint_texts.csv
pokedex/db/tables.py

index c3551a5..36acada 100644 (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
index 0750d3e..5615fc6 100644 (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):