<commit_before>from django.db import models

models.options.DEFAULT_NAMES += ('_DATABASE',)


class Weekstructure(models.Model):
    setid = models.TextField(max_length=10)
    weeknumber = models.BigIntegerField(null=True, blank=True)
    startdate = models.DateField()
    description = models.TextField(primary_key=True, max_length=80)
    mappedto = models.BigIntegerField(null=True, blank=True)

    class Meta:
        managed = False
        db_table = '"CMIS_OWNER"."WEEKSTRUCTURE"'
        _DATABASE = 'roombookings'


class WeekstructureA(models.Model):
    id = models.AutoField(primary_key=True)
    setid = models.TextField(max_length=10)
    weeknumber = models.BigIntegerField(null=True, blank=True)
    startdate = models.DateField()
    description = models.TextField(max_length=80)
    mappedto = models.BigIntegerField(null=True, blank=True)

    class Meta:
        _DATABASE = 'gencache'


class WeekstructureB(models.Model):
    id = models.AutoField(primary_key=True)
    setid = models.TextField(max_length=10)
    weeknumber = models.BigIntegerField(null=True, blank=True)
    startdate = models.DateField()
    description = models.TextField(max_length=80)
    mappedto = models.BigIntegerField(null=True, blank=True)

    class Meta:
        _DATABASE = 'gencache'


class Students(models.Model):
    setid = models.TextField(max_length=10)
    studentid = models.TextField(primary_key=True, max_length=12)
    name = models.TextField(max_length=120)
    linkcode = models.TextField(max_length=20)
    courseid = models.TextField(max_length=12)
    courseyear = models.BigIntegerField(null=True, blank=True)
    classgroupid = models.TextField(max_length=10)
    deptid = models.TextField(max_length=10)
    instcode = models.TextField(max_length=10)
    qtype1 = models.TextField(max_length=10)
    qtype2 = models.TextField(max_length=10)
    qtype3 = models.TextField(max_length=10)
    regchecked = models.CharField(max_length=1)
    fullypaid = models.CharField(max_length=1)
    house1 = models.BigIntegerField(null=True, blank=True)
    house2 = models.BigIntegerField(null=True, blank=True)
    lecturerid = models.TextField(max_length=10)
    optionblockid = models.BigIntegerField(null=True, blank=True)
    rulesetid = models.TextField(max_length=10)
    semid = models.BigIntegerField(null=True, blank=True)
    instid = models.BigIntegerField(null=True, blank=True)
    isflipflop = models.CharField(max_length=1)
    crsver = models.BigIntegerField(null=True, blank=True)
    finalyear = models.CharField(max_length=1)
    newcourseid = models.TextField(max_length=12)
    lastsemrank = models.BigIntegerField(null=True, blank=True)
    acadstanding = models.BigIntegerField(null=True, blank=True)
    isdeferred = models.CharField(max_length=1)
    oldcourseid = models.TextField(max_length=12)
    oldcourseyear = models.BigIntegerField(null=True, blank=True)
    oldsemid = models.BigIntegerField(null=True, blank=True)
    oldacadstanding = models.BigIntegerField(null=True, blank=True)
    acaddone = models.BigIntegerField(null=True, blank=True)
    semrank = models.BigIntegerField(null=True, blank=True)
    oldsemrank = models.BigIntegerField(null=True, blank=True)
    custate = models.BigIntegerField(null=True, blank=True)
    oldcustate = models.BigIntegerField(null=True, blank=True)
    progstoskip = models.BigIntegerField(null=True, blank=True)
    adjacadstanding = models.BigIntegerField(null=True, blank=True)
    ema = models.CharField(max_length=1)
    emaid = models.TextField(max_length=12)
    dob = models.DateField()

    class Meta:
        managed = False
        db_table = '"CMIS_OWNER"."STUDENTS"'
        _DATABASE = 'roombookings'

class StudentsA(models.Model):
    id = models.AutoField(primary_key=True)
    setid = models.TextField(max_length=10)
    studentid = models.TextField(max_length=12)
    name = models.TextField(max_length=120)
    linkcode = models.TextField(max_length=20)
    courseid = models.TextField(max_length=12)
    courseyear = models.BigIntegerField(null=True, blank=True)
    classgroupid = models.TextField(max_length=10)
    deptid = models.TextField(max_length=10)
    instcode = models.TextField(max_length=10)
    qtype1 = models.TextField(max_length=10)
    qtype2 = models.TextField(max_length=10)
    qtype3 = models.TextField(max_length=10)
    regchecked = models.CharField(max_length=1)
    fullypaid = models.CharField(max_length=1)
    house1 = models.BigIntegerField(null=True, blank=True)
    house2 = models.BigIntegerField(null=True, blank=True)
    lecturerid = models.TextField(max_length=10)
    optionblockid = models.BigIntegerField(null=True, blank=True)
    rulesetid = models.TextField(max_length=10)
    semid = models.BigIntegerField(null=True, blank=True)
    instid = models.BigIntegerField(null=True, blank=True)
    isflipflop = models.CharField(max_length=1)
    crsver = models.BigIntegerField(null=True, blank=True)
    finalyear = models.CharField(max_length=1)
    newcourseid = models.TextField(max_length=12)
    lastsemrank = models.BigIntegerField(null=True, blank=True)
    acadstanding = models.BigIntegerField(null=True, blank=True)
    isdeferred = models.CharField(max_length=1)
    oldcourseid = models.TextField(max_length=12)
    oldcourseyear = models.BigIntegerField(null=True, blank=True)
    oldsemid = models.BigIntegerField(null=True, blank=True)
    oldacadstanding = models.BigIntegerField(null=True, blank=True)
    acaddone = models.BigIntegerField(null=True, blank=True)
    semrank = models.BigIntegerField(null=True, blank=True)
    oldsemrank = models.BigIntegerField(null=True, blank=True)
    custate = models.BigIntegerField(null=True, blank=True)
    oldcustate = models.BigIntegerField(null=True, blank=True)
    progstoskip = models.BigIntegerField(null=True, blank=True)
    adjacadstanding = models.BigIntegerField(null=True, blank=True)
    ema = models.CharField(max_length=1)
    emaid = models.TextField(max_length=12)
    dob = models.DateField()

    class Meta:
        _DATABASE = 'gencache'

class StudentsB(models.Model):
    id = models.AutoField(primary_key=True)
    setid = models.TextField(max_length=10)
    studentid = models.TextField(max_length=12)
    name = models.TextField(max_length=120)
    linkcode = models.TextField(max_length=20)
    courseid = models.TextField(max_length=12)
    courseyear = models.BigIntegerField(null=True, blank=True)
    classgroupid = models.TextField(max_length=10)
    deptid = models.TextField(max_length=10)
    instcode = models.TextField(max_length=10)
    qtype1 = models.TextField(max_length=10)
    qtype2 = models.TextField(max_length=10)
    qtype3 = models.TextField(max_length=10)
    regchecked = models.CharField(max_length=1)
    fullypaid = models.CharField(max_length=1)
    house1 = models.BigIntegerField(null=True, blank=True)
    house2 = models.BigIntegerField(null=True, blank=True)
    lecturerid = models.TextField(max_length=10)
    optionblockid = models.BigIntegerField(null=True, blank=True)
    rulesetid = models.TextField(max_length=10)
    semid = models.BigIntegerField(null=True, blank=True)
    instid = models.BigIntegerField(null=True, blank=True)
    isflipflop = models.CharField(max_length=1)
    crsver = models.BigIntegerField(null=True, blank=True)
    finalyear = models.CharField(max_length=1)
    newcourseid = models.TextField(max_length=12)
    lastsemrank = models.BigIntegerField(null=True, blank=True)
    acadstanding = models.BigIntegerField(null=True, blank=True)
    isdeferred = models.CharField(max_length=1)
    oldcourseid = models.TextField(max_length=12)
    oldcourseyear = models.BigIntegerField(null=True, blank=True)
    oldsemid = models.BigIntegerField(null=True, blank=True)
    oldacadstanding = models.BigIntegerField(null=True, blank=True)
    acaddone = models.BigIntegerField(null=True, blank=True)
    semrank = models.BigIntegerField(null=True, blank=True)
    oldsemrank = models.BigIntegerField(null=True, blank=True)
    custate = models.BigIntegerField(null=True, blank=True)
    oldcustate = models.BigIntegerField(null=True, blank=True)
    progstoskip = models.BigIntegerField(null=True, blank=True)
    adjacadstanding = models.BigIntegerField(null=True, blank=True)
    ema = models.CharField(max_length=1)
    emaid = models.TextField(max_length=12)
    dob = models.DateField()

    class Meta:
        _DATABASE = 'gencache'

class Sites(models.Model):
    setid = models.TextField(max_length=10)
    siteid = models.TextField(max_length=10)
    sitename = models.TextField(max_length=80)
    address1 = models.TextField(max_length=80)
    address2 = models.TextField(primary_key=True, max_length=80)
    address3 = models.TextField(max_length=80)
    address4 = models.TextField(max_length=80)
    phone1 = models.TextField(max_length=50)
    phone2 = models.TextField(max_length=50)
    contact1 = models.TextField(max_length=50)
    contact2 = models.TextField(max_length=50)
    linkcode = models.TextField(max_length=20)
    campusid = models.TextField(max_length=10)

    class Meta:
        managed = False
        db_table = '"CMIS_OWNER"."SITES"'
        _DATABASE = 'roombookings'


class SitesA(models.Model):<commit_msg>Remove not null constraint on student dob cache<commit_after>from django.db import models

models.options.DEFAULT_NAMES += ('_DATABASE',)


class Weekstructure(models.Model):
    setid = models.TextField(max_length=10)
    weeknumber = models.BigIntegerField(null=True, blank=True)
    startdate = models.DateField()
    description = models.TextField(primary_key=True, max_length=80)
    mappedto = models.BigIntegerField(null=True, blank=True)

    class Meta:
        managed = False
        db_table = '"CMIS_OWNER"."WEEKSTRUCTURE"'
        _DATABASE = 'roombookings'


class WeekstructureA(models.Model):
    id = models.AutoField(primary_key=True)
    setid = models.TextField(max_length=10)
    weeknumber = models.BigIntegerField(null=True, blank=True)
    startdate = models.DateField()
    description = models.TextField(max_length=80)
    mappedto = models.BigIntegerField(null=True, blank=True)

    class Meta:
        _DATABASE = 'gencache'


class WeekstructureB(models.Model):
    id = models.AutoField(primary_key=True)
    setid = models.TextField(max_length=10)
    weeknumber = models.BigIntegerField(null=True, blank=True)
    startdate = models.DateField()
    description = models.TextField(max_length=80)
    mappedto = models.BigIntegerField(null=True, blank=True)

    class Meta:
        _DATABASE = 'gencache'


class Students(models.Model):
    setid = models.TextField(max_length=10)
    studentid = models.TextField(primary_key=True, max_length=12)
    name = models.TextField(max_length=120)
    linkcode = models.TextField(max_length=20)
    courseid = models.TextField(max_length=12)
    courseyear = models.BigIntegerField(null=True, blank=True)
    classgroupid = models.TextField(max_length=10)
    deptid = models.TextField(max_length=10)
    instcode = models.TextField(max_length=10)
    qtype1 = models.TextField(max_length=10)
    qtype2 = models.TextField(max_length=10)
    qtype3 = models.TextField(max_length=10)
    regchecked = models.CharField(max_length=1)
    fullypaid = models.CharField(max_length=1)
    house1 = models.BigIntegerField(null=True, blank=True)
    house2 = models.BigIntegerField(null=True, blank=True)
    lecturerid = models.TextField(max_length=10)
    optionblockid = models.BigIntegerField(null=True, blank=True)
    rulesetid = models.TextField(max_length=10)
    semid = models.BigIntegerField(null=True, blank=True)
    instid = models.BigIntegerField(null=True, blank=True)
    isflipflop = models.CharField(max_length=1)
    crsver = models.BigIntegerField(null=True, blank=True)
    finalyear = models.CharField(max_length=1)
    newcourseid = models.TextField(max_length=12)
    lastsemrank = models.BigIntegerField(null=True, blank=True)
    acadstanding = models.BigIntegerField(null=True, blank=True)
    isdeferred = models.CharField(max_length=1)
    oldcourseid = models.TextField(max_length=12)
    oldcourseyear = models.BigIntegerField(null=True, blank=True)
    oldsemid = models.BigIntegerField(null=True, blank=True)
    oldacadstanding = models.BigIntegerField(null=True, blank=True)
    acaddone = models.BigIntegerField(null=True, blank=True)
    semrank = models.BigIntegerField(null=True, blank=True)
    oldsemrank = models.BigIntegerField(null=True, blank=True)
    custate = models.BigIntegerField(null=True, blank=True)
    oldcustate = models.BigIntegerField(null=True, blank=True)
    progstoskip = models.BigIntegerField(null=True, blank=True)
    adjacadstanding = models.BigIntegerField(null=True, blank=True)
    ema = models.CharField(max_length=1)
    emaid = models.TextField(max_length=12)
    dob = models.DateField()

    class Meta:
        managed = False
        db_table = '"CMIS_OWNER"."STUDENTS"'
        _DATABASE = 'roombookings'

class StudentsA(models.Model):
    id = models.AutoField(primary_key=True)
    setid = models.TextField(max_length=10)
    studentid = models.TextField(max_length=12)
    name = models.TextField(max_length=120)
    linkcode = models.TextField(max_length=20)
    courseid = models.TextField(max_length=12)
    courseyear = models.BigIntegerField(null=True, blank=True)
    classgroupid = models.TextField(max_length=10)
    deptid = models.TextField(max_length=10)
    instcode = models.TextField(max_length=10)
    qtype1 = models.TextField(max_length=10)
    qtype2 = models.TextField(max_length=10)
    qtype3 = models.TextField(max_length=10)
    regchecked = models.CharField(max_length=1)
    fullypaid = models.CharField(max_length=1)
    house1 = models.BigIntegerField(null=True, blank=True)
    house2 = models.BigIntegerField(null=True, blank=True)
    lecturerid = models.TextField(max_length=10)
    optionblockid = models.BigIntegerField(null=True, blank=True)
    rulesetid = models.TextField(max_length=10)
    semid = models.BigIntegerField(null=True, blank=True)
    instid = models.BigIntegerField(null=True, blank=True)
    isflipflop = models.CharField(max_length=1)
    crsver = models.BigIntegerField(null=True, blank=True)
    finalyear = models.CharField(max_length=1)
    newcourseid = models.TextField(max_length=12)
    lastsemrank = models.BigIntegerField(null=True, blank=True)
    acadstanding = models.BigIntegerField(null=True, blank=True)
    isdeferred = models.CharField(max_length=1)
    oldcourseid = models.TextField(max_length=12)
    oldcourseyear = models.BigIntegerField(null=True, blank=True)
    oldsemid = models.BigIntegerField(null=True, blank=True)
    oldacadstanding = models.BigIntegerField(null=True, blank=True)
    acaddone = models.BigIntegerField(null=True, blank=True)
    semrank = models.BigIntegerField(null=True, blank=True)
    oldsemrank = models.BigIntegerField(null=True, blank=True)
    custate = models.BigIntegerField(null=True, blank=True)
    oldcustate = models.BigIntegerField(null=True, blank=True)
    progstoskip = models.BigIntegerField(null=True, blank=True)
    adjacadstanding = models.BigIntegerField(null=True, blank=True)
    ema = models.CharField(max_length=1)
    emaid = models.TextField(max_length=12)
    dob = models.DateField(null=True, blank=True)

    class Meta:
        _DATABASE = 'gencache'

class StudentsB(models.Model):
    id = models.AutoField(primary_key=True)
    setid = models.TextField(max_length=10)
    studentid = models.TextField(max_length=12)
    name = models.TextField(max_length=120)
    linkcode = models.TextField(max_length=20)
    courseid = models.TextField(max_length=12)
    courseyear = models.BigIntegerField(null=True, blank=True)
    classgroupid = models.TextField(max_length=10)
    deptid = models.TextField(max_length=10)
    instcode = models.TextField(max_length=10)
    qtype1 = models.TextField(max_length=10)
    qtype2 = models.TextField(max_length=10)
    qtype3 = models.TextField(max_length=10)
    regchecked = models.CharField(max_length=1)
    fullypaid = models.CharField(max_length=1)
    house1 = models.BigIntegerField(null=True, blank=True)
    house2 = models.BigIntegerField(null=True, blank=True)
    lecturerid = models.TextField(max_length=10)
    optionblockid = models.BigIntegerField(null=True, blank=True)
    rulesetid = models.TextField(max_length=10)
    semid = models.BigIntegerField(null=True, blank=True)
    instid = models.BigIntegerField(null=True, blank=True)
    isflipflop = models.CharField(max_length=1)
    crsver = models.BigIntegerField(null=True, blank=True)
    finalyear = models.CharField(max_length=1)
    newcourseid = models.TextField(max_length=12)
    lastsemrank = models.BigIntegerField(null=True, blank=True)
    acadstanding = models.BigIntegerField(null=True, blank=True)
    isdeferred = models.CharField(max_length=1)
    oldcourseid = models.TextField(max_length=12)
    oldcourseyear = models.BigIntegerField(null=True, blank=True)
    oldsemid = models.BigIntegerField(null=True, blank=True)
    oldacadstanding = models.BigIntegerField(null=True, blank=True)
    acaddone = models.BigIntegerField(null=True, blank=True)
    semrank = models.BigIntegerField(null=True, blank=True)
    oldsemrank = models.BigIntegerField(null=True, blank=True)
    custate = models.BigIntegerField(null=True, blank=True)
    oldcustate = models.BigIntegerField(null=True, blank=True)
    progstoskip = models.BigIntegerField(null=True, blank=True)
    adjacadstanding = models.BigIntegerField(null=True, blank=True)
    ema = models.CharField(max_length=1)
    emaid = models.TextField(max_length=12)
    dob = models.DateField(null=True, blank=True)

    class Meta:
        _DATABASE = 'gencache'

class Sites(models.Model):
    setid = models.TextField(max_length=10)
    siteid = models.TextField(max_length=10)
    sitename = models.TextField(max_length=80)
    address1 = models.TextField(max_length=80)
    address2 = models.TextField(primary_key=True, max_length=80)
    address3 = models.TextField(max_length=80)
    address4 = models.TextField(max_length=80)
    phone1 = models.TextField(max_length=50)
    phone2 = models.TextField(max_length=50)
    contact1 = models.TextField(max_length=50)
    contact2 = models.TextField(max_length=50)
    linkcode = models.TextField(max_length=20)
    campusid = models.TextField(max_length=10)

    class Meta:
        managed = False
        db_table = '"CMIS_OWNER"."SITES"'
        _DATABASE = 'roombookings'


class SitesA(models.Model):
{'fraction_non_alphanumeric': 0.10974690360796985, 'fraction_numerical': 0.019170705438879915, 'mean_word_length': 4.888078630310717, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5917248', 'n_tokens_mistral': 6247, 'n_tokens_neox': 6034, 'n_words': 896}