Esempio n. 1
0
class Job(models.Model):
    job_id = models.AutoField(primary_key=True)
    complete = NullBit1BooleanField(blank=True,
                                    null=True)  # This field type is a guess.
    error = NullBit1BooleanField(blank=True,
                                 null=True)  # This field type is a guess.
    visited = models.DateTimeField(blank=True, null=True)
    buildid = models.CharField(max_length=255, blank=True, null=True)
    timing = models.DecimalField(max_digits=32,
                                 decimal_places=16,
                                 blank=True,
                                 null=True)
    script = models.TextField(blank=True, null=True)

    class Meta:
        managed = False
        db_table = 'job'
Esempio n. 2
0
class Class(models.Model):
    class_id = models.AutoField(primary_key=True)
    processed_project = models.ForeignKey('ProcessedProject',
                                          models.DO_NOTHING,
                                          blank=True,
                                          null=True)
    name = models.CharField(max_length=255, blank=True, null=True)
    is_mainclass = NullBit1BooleanField(
        blank=True, null=True)  # This field type is a guess.
    uuid = models.CharField(max_length=32, blank=True, null=True)

    class Meta:
        managed = False
        db_table = 'class'
Esempio n. 3
0
class NullBit1Model(Model):
    flag = NullBit1BooleanField()
Esempio n. 4
0
 class Invalid(models.Model):
     nb = NullBit1BooleanField()