Ported GTS Phase I over from spline-pokedex.
[zzz-spline-gts.git] / spline / plugins / 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)