Source

PyConference / pyconference / model / tables.py

Full commit
#coding:utf-8

import sqlalchemy as sa
from sqlalchemy import orm

from pyconference.model import meta

conferences_table = sa.Table('conferences', meta.metadata,
                             sa.Column('id', sa.types.Integer(), primay_key=True),
                             sa.Column('title', sa.types.Unicode(100)),
                             sa.Column('description', sa.types.Unicode(), default='')
                    )
presentations_table = sa.Table('presentations', meta.metadata,
                             sa.Column('id', sa.types.Integer(), primary_key=True),
                             sa.Column('title', sa.types.UnicodeText()),
                             sa.Column('description', sa.types.UnicodeText(), default=''),
                             sa.Column('requirements', sa.types.UnicodeText(), default=''),
                             
                    )