X-Git-Url: http://git.veekun.com/zzz-spline-gts.git/blobdiff_plain/04080d76b1d682b28f89e5d9403759a3782fb8f3..HEAD:/splinext/gts/model/__init__.py 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)