From d667024937d9bd61e4377af56f98f186ea64c44b Mon Sep 17 00:00:00 2001 From: "Eevee (Alex Munroe)" Date: Mon, 12 Aug 2013 23:15:03 -0700 Subject: [PATCH] Force MySQL to NOT auto-inc pokemon_moves.level. --- pokedex/db/tables.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pokedex/db/tables.py b/pokedex/db/tables.py index 7c66001..ca785df 100644 --- a/pokedex/db/tables.py +++ b/pokedex/db/tables.py @@ -1779,7 +1779,7 @@ class PokemonMove(TableBase): info=dict(description=u"ID of the move")) 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")) - 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")) 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