Binary => LargeBinary veekun-promotions/2010060201 veekun-promotions/2010060501 veekun-promotions/2010060502
authorEevee <git@veekun.com>
Wed, 2 Jun 2010 06:41:26 +0000 (23:41 -0700)
committerEevee <git@veekun.com>
Wed, 2 Jun 2010 06:41:26 +0000 (23:41 -0700)
splinext/gts/model/__init__.py

index 3d73b54..fa6c541 100644 (file)
@@ -1,6 +1,6 @@
 from sqlalchemy import Column, ForeignKey
 from sqlalchemy.orm import relation
-from sqlalchemy.types import Binary, Integer, Unicode
+from sqlalchemy.types import Integer, LargeBinary, Unicode
 
 from spline.model.meta import TableBase
 
@@ -8,4 +8,4 @@ class GTSPokemon(TableBase):
     __tablename__ = 'gts_pokemon'
     id = Column(Integer, primary_key=True, autoincrement=True)
     pid = Column(Integer)
-    pokemon_blob = Column(Binary(292), nullable=False)
+    pokemon_blob = Column(LargeBinary(292), nullable=False)