Example #1
0
 def acs_ind(cls):
     return db.Column(db.String(),
                      db.ForeignKey(AcsInd.id),
                      primary_key=True)
Example #2
0
 def birthplace(cls):
     return db.Column(db.String(),
                      db.ForeignKey(PumsBirthplace.id),
                      primary_key=True)
Example #3
0
 def language(cls):
     return db.Column(db.String(),
                      db.ForeignKey(AcsLanguage.id),
                      primary_key=True)
Example #4
0
 def wage_bin(cls):
     return db.Column(db.String(),
                      db.ForeignKey(PumsWage.id),
                      primary_key=True)
Example #5
0
 def sex(cls):
     return db.Column(db.String(),
                      db.ForeignKey(PumsSex.id),
                      primary_key=True)
Example #6
0
 def degree(cls):
     return db.Column(db.String(),
                      db.ForeignKey(PumsDegree.id),
                      primary_key=True)
Example #7
0
 def naics(cls):
     return db.Column(db.String(),
                      db.ForeignKey(PumsNaics.id),
                      primary_key=True)
Example #8
0
 def cip(cls):
     return db.Column(db.String(), db.ForeignKey(Cip.id), primary_key=True)
Example #9
0
 def geo(cls):
     return db.Column(db.String(), db.ForeignKey(Geo.id), primary_key=True)
Example #10
0
 def skill(cls):
     return db.Column(db.String(), db.ForeignKey(Skill.id), primary_key=True)
 def acs_occ(cls):
     return db.Column(db.String(), db.ForeignKey(AcsOcc.id),
                      primary_key=True)
Example #12
0
class GeoNeighbors(db.Model):
    __tablename__ = 'geo_neighbors'
    __table_args__ = {"schema": "attrs"}
    geo = db.Column(db.String, db.ForeignKey(Geo.id), primary_key=True)
    neighbor = db.Column(db.String, db.ForeignKey(Geo.id), primary_key=True)