source: gutenbach-web/model.template @ 0603e20

debianmacno-cupsweb
Last change on this file since 0603e20 was 973dd91, checked in by Edward Z. Yang <edwardzyang@…>, 16 years ago

Initial commit.

Signed-off-by: Edward Z. Yang <edwardzyang@…>

  • Property mode set to 100644
File size: 442 bytes
Line 
1from sqlalchemy import *
2from sqlalchemy.orm import mapper, relation
3from sqlalchemy import Table, ForeignKey, Column
4from sqlalchemy.types import Integer, Unicode
5#from sqlalchemy.orm import relation, backref
6
7from sipbmp3web.model import DeclarativeBase, metadata, DBSession
8
9class SampleModel(DeclarativeBase):
10    __tablename__ = 'sample_model'
11
12    id = Column(Integer, primary_key=True)
13    data = Column(Unicode(255), nullable=False)
14
Note: See TracBrowser for help on using the repository browser.