projects
/
zzz-spline-gts.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
If the parse of an uploaded Pokémon fails, don't catch the crash.
[zzz-spline-gts.git]
/
splinext
/
gts
/
model
/
__init__.py
diff --git
a/splinext/gts/model/__init__.py
b/splinext/gts/model/__init__.py
index
3d73b54
..
fa6c541
100644
(file)
--- 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 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
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)
__tablename__ = 'gts_pokemon'
id = Column(Integer, primary_key=True, autoincrement=True)
pid = Column(Integer)
- pokemon_blob = Column(Binary(292), nullable=False)
+ pokemon_blob = Column(
Large
Binary(292), nullable=False)