Great Migration: spline.plugins => splinext
[zzz-spline-gts.git] / splinext / gts / model / __init__.py
diff --git a/splinext/gts/model/__init__.py b/splinext/gts/model/__init__.py
new file mode 100644 (file)
index 0000000..3d73b54
--- /dev/null
@@ -0,0 +1,11 @@
+from sqlalchemy import Column, ForeignKey
+from sqlalchemy.orm import relation
+from sqlalchemy.types import Binary, Integer, Unicode
+
+from spline.model.meta import TableBase
+
+class GTSPokemon(TableBase):
+    __tablename__ = 'gts_pokemon'
+    id = Column(Integer, primary_key=True, autoincrement=True)
+    pid = Column(Integer)
+    pokemon_blob = Column(Binary(292), nullable=False)