3d73b545edb8a928c469f1d3a89626dc9f48a5f7
[zzz-spline-gts.git] / splinext / gts / model / __init__.py
1 from sqlalchemy import Column, ForeignKey
2 from sqlalchemy.orm import relation
3 from sqlalchemy.types import Binary, Integer, Unicode
4
5 from spline.model.meta import TableBase
6
7 class GTSPokemon(TableBase):
8 __tablename__ = 'gts_pokemon'
9 id = Column(Integer, primary_key=True, autoincrement=True)
10 pid = Column(Integer)
11 pokemon_blob = Column(Binary(292), nullable=False)