class Email(db.Model): __table__ = db.Table('email', db.metadata, db.Column('id', db.Integer, primary_key=True), db.Column('email', db.String), db.Column('user_id', db.Integer), schema='email')
from skeleton import db PageTags = db.Table('page_tags', db.metadata, db.Column('page_id', db.Integer, db.ForeignKey('public.page.id')), db.Column('tag_id', db.Integer, db.ForeignKey('public.tag.id')), schema='public' )
class H2(db.Model): __table__ = db.Table( 'h2', db.metadata, db.Column('id', db.Integer, primary_key=True), db.Column('val2', db.String), schema='mod1')
class Timezone(db.Model): __table__ = db.Table('timezone', db.metadata, db.Column('id', db.Integer, primary_key=True), db.Column('name', db.String), schema='public')