From: Eevee Date: Wed, 2 Jun 2010 06:41:26 +0000 (-0700) Subject: Binary => LargeBinary X-Git-Tag: veekun-promotions/2010060201^0 X-Git-Url: http://git.veekun.com/zzz-spline-gts.git/commitdiff_plain/999b1cb2d5501ed3d3e12f5cba7ee956085662a3 Binary => LargeBinary --- diff --git a/splinext/gts/model/__init__.py b/splinext/gts/model/__init__.py index 3d73b54..fa6c541 100644 --- a/splinext/gts/model/__init__.py +++ b/splinext/gts/model/__init__.py @@ -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)