Disable autoincrement for MoveMetaAilment.
authorEevee <git@veekun.com>
Thu, 31 Mar 2011 16:22:16 +0000 (09:22 -0700)
committerEevee <git@veekun.com>
Thu, 31 Mar 2011 16:22:16 +0000 (09:22 -0700)
pokedex/db/tables.py

index faa5a88..c60c259 100644 (file)
@@ -850,7 +850,7 @@ class MoveMetaAilment(TableBase):
     """
     __tablename__ = 'move_meta_ailments'
     __singlename__ = 'move_meta_ailment'
     """
     __tablename__ = 'move_meta_ailments'
     __singlename__ = 'move_meta_ailment'
-    id = Column(Integer, primary_key=True, nullable=False,
+    id = Column(Integer, primary_key=True, nullable=False, autoincrement=False,
         info=dict(description="A numeric ID"))
     identifier = Column(Unicode(24), nullable=False,
         info=dict(description="An identifier", format='identifier'))
         info=dict(description="A numeric ID"))
     identifier = Column(Unicode(24), nullable=False,
         info=dict(description="An identifier", format='identifier'))