mirror of
https://github.com/veekun/pokedex.git
synced 2024-08-20 18:16:34 +00:00
Force MySQL to NOT auto-inc pokemon_moves.level.
This commit is contained in:
parent
efc0d0d10c
commit
d667024937
1 changed files with 1 additions and 1 deletions
|
@ -1779,7 +1779,7 @@ class PokemonMove(TableBase):
|
||||||
info=dict(description=u"ID of the move"))
|
info=dict(description=u"ID of the move"))
|
||||||
pokemon_move_method_id = Column(Integer, ForeignKey('pokemon_move_methods.id'), nullable=False, index=True,
|
pokemon_move_method_id = Column(Integer, ForeignKey('pokemon_move_methods.id'), nullable=False, index=True,
|
||||||
info=dict(description=u"ID of the method this move is learned by"))
|
info=dict(description=u"ID of the method this move is learned by"))
|
||||||
level = Column(Integer, nullable=True, index=True,
|
level = Column(Integer, nullable=True, index=True, autoincrement=False,
|
||||||
info=dict(description=u"Level the move is learned at, if applicable"))
|
info=dict(description=u"Level the move is learned at, if applicable"))
|
||||||
order = Column(Integer, nullable=True,
|
order = Column(Integer, nullable=True,
|
||||||
info=dict(description=u"A sort key to produce the correct ordering when all else is equal")) # XXX: This needs a better description
|
info=dict(description=u"A sort key to produce the correct ordering when all else is equal")) # XXX: This needs a better description
|
||||||
|
|
Loading…
Reference in a new issue