From dcd5e418428fbc626e675c3e0cf861cff3c4bff1 Mon Sep 17 00:00:00 2001 From: Eevee Date: Tue, 28 Jul 2009 11:22:57 -0700 Subject: [PATCH 1/1] pokemon_moves table no longer tries to have an autoinc column. --- 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 c2a0609..096e678 100644 --- a/pokedex/db/tables.py +++ b/pokedex/db/tables.py @@ -296,7 +296,7 @@ class PokemonMove(TableBase): version_group_id = Column(Integer, ForeignKey('version_groups.id'), primary_key=True, nullable=False, autoincrement=False) move_id = Column(Integer, ForeignKey('moves.id'), primary_key=True, nullable=False, autoincrement=False, index=True) pokemon_move_method_id = Column(Integer, ForeignKey('pokemon_move_methods.id'), primary_key=True, nullable=False, autoincrement=False) - level = Column(Integer, primary_key=True, nullable=True) + level = Column(Integer, primary_key=True, nullable=True, autoincrement=False) order = Column(Integer, nullable=True) class PokemonMoveMethod(TableBase): -- 2.7.4