From 999b1cb2d5501ed3d3e12f5cba7ee956085662a3 Mon Sep 17 00:00:00 2001 From: Eevee Date: Tue, 1 Jun 2010 23:41:26 -0700 Subject: [PATCH] Binary => LargeBinary --- splinext/gts/model/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.7.4