debianmacno-cupsweb
Last change
on this file since 30beeab was
30beeab,
checked in by Jessica B. Hamrick <jhamrick@…>, 14 years ago
|
Remove "gutenbach-" from directory names and rename "gutenbach" to "gutenbach-server"
|
-
Property mode set to
100644
|
File size:
442 bytes
|
Line | |
---|
1 | from sqlalchemy import * |
---|
2 | from sqlalchemy.orm import mapper, relation |
---|
3 | from sqlalchemy import Table, ForeignKey, Column |
---|
4 | from sqlalchemy.types import Integer, Unicode |
---|
5 | #from sqlalchemy.orm import relation, backref |
---|
6 | |
---|
7 | from sipbmp3web.model import DeclarativeBase, metadata, DBSession |
---|
8 | |
---|
9 | class 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.