Index page lists titles of art in the "art" table.
[zzz-floof.git] / floof / model / art.py
1 from sqlalchemy import Column, ForeignKey
2 from sqlalchemy.orm import relation
3 from sqlalchemy.types import Integer, Unicode
4
5 from floof.model import meta
6
7 __all__ = ['Art']
8
9 class Art(meta.TableBase):
10 __tablename__ = 'art'
11 id = Column(Integer, primary_key=True)
12 title = Column(Unicode(length=120), nullable=False)