Force MySQL to NOT auto-inc pokemon_moves.level.

This commit is contained in:
Eevee (Alex Munroe) 2013-08-12 23:15:03 -07:00
parent efc0d0d10c
commit d667024937

View file

@ -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