From: Eevee Date: Tue, 28 Jul 2009 18:22:57 +0000 (-0700) Subject: pokemon_moves table no longer tries to have an autoinc column. X-Git-Tag: veekun-promotions/2010050901~230 X-Git-Url: http://git.veekun.com/zzz-pokedex.git/commitdiff_plain/dcd5e418428fbc626e675c3e0cf861cff3c4bff1?ds=inline;hp=06be8bc5add31a5937b252c678d60037cb103b5a pokemon_moves table no longer tries to have an autoinc column. --- 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):