projects
/
zzz-pokedex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
240c0ff
)
Disable autoincrement for MoveMetaAilment.
author
Eevee
<git@veekun.com>
Thu, 31 Mar 2011 16:22:16 +0000
(09:22 -0700)
committer
Eevee
<git@veekun.com>
Thu, 31 Mar 2011 16:22:16 +0000
(09:22 -0700)
pokedex/db/tables.py
patch
|
blob
|
history
diff --git
a/pokedex/db/tables.py
b/pokedex/db/tables.py
index
faa5a88
..
c60c259
100644
(file)
--- a/
pokedex/db/tables.py
+++ b/
pokedex/db/tables.py
@@
-850,7
+850,7
@@
class MoveMetaAilment(TableBase):
"""
__tablename__ = 'move_meta_ailments'
__singlename__ = 'move_meta_ailment'
"""
__tablename__ = 'move_meta_ailments'
__singlename__ = 'move_meta_ailment'
- id = Column(Integer, primary_key=True, nullable=False,
+ id = Column(Integer, primary_key=True, nullable=False,
autoincrement=False,
info=dict(description="A numeric ID"))
identifier = Column(Unicode(24), nullable=False,
info=dict(description="An identifier", format='identifier'))
info=dict(description="A numeric ID"))
identifier = Column(Unicode(24), nullable=False,
info=dict(description="An identifier", format='identifier'))