Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(3)  |  Derive(0)  |  Import(0)

src/r/g/RGVRSEF-HEAD/RGVRSEF/models.py   RGVRSEF(Download)
class Student(db.Model):
    id = db.Column(db.Integer, db.Sequence('student_id_seq',start=1000),
            primary_key=True)
    firstname = db.Column(db.String(30))
    lastname = db.Column(db.String(50))
class Project(db.Model):
    id = db.Column(db.Integer, db.Sequence('project_id_seq',start=1000),
            primary_key=True)
    title = db.Column(db.String(250))
    individual = db.Column(db.Boolean, default=True)
class Sponsor(db.Model):
    id = db.Column(db.Integer, db.Sequence('sponsor_id_seq',start=1000),
                    primary_key=True)
    firstname = db.Column(db.String(30))
    lastname = db.Column(db.String(50))