Lines Matching refs:dbmodels
1 from django.db import models as dbmodels, connection unknown
124 class Machine(dbmodels.Model):
126 machine_idx = dbmodels.AutoField(primary_key=True)
127 hostname = dbmodels.CharField(unique=True, max_length=255)
128 machine_group = dbmodels.CharField(blank=True, max_length=240)
129 owner = dbmodels.CharField(blank=True, max_length=240)
136 class Kernel(dbmodels.Model):
138 kernel_idx = dbmodels.AutoField(primary_key=True)
139 kernel_hash = dbmodels.CharField(max_length=105, editable=False)
140 base = dbmodels.CharField(max_length=90)
141 printable = dbmodels.CharField(max_length=300)
148 class Patch(dbmodels.Model):
150 kernel = dbmodels.ForeignKey(Kernel, db_column='kernel_idx')
151 name = dbmodels.CharField(blank=True, max_length=240)
152 url = dbmodels.CharField(blank=True, max_length=900)
153 the_hash = dbmodels.CharField(blank=True, max_length=105, db_column='hash')
160 class Status(dbmodels.Model):
162 status_idx = dbmodels.AutoField(primary_key=True)
163 word = dbmodels.CharField(max_length=30)
170 class Job(dbmodels.Model, model_logic.ModelExtensions):
172 job_idx = dbmodels.AutoField(primary_key=True)
173 tag = dbmodels.CharField(unique=True, max_length=100)
174 label = dbmodels.CharField(max_length=300)
175 username = dbmodels.CharField(max_length=240)
176 machine = dbmodels.ForeignKey(Machine, db_column='machine_idx')
177 queued_time = dbmodels.DateTimeField(null=True, blank=True)
178 started_time = dbmodels.DateTimeField(null=True, blank=True)
179 finished_time = dbmodels.DateTimeField(null=True, blank=True)
180 afe_job_id = dbmodels.IntegerField(null=True, default=None)
189 class JobKeyval(dbmodels.Model):
191 job = dbmodels.ForeignKey(Job)
192 key = dbmodels.CharField(max_length=90)
193 value = dbmodels.CharField(blank=True, max_length=300)
200 class Test(dbmodels.Model, model_logic.ModelExtensions,
203 test_idx = dbmodels.AutoField(primary_key=True)
204 job = dbmodels.ForeignKey(Job, db_column='job_idx')
205 test = dbmodels.CharField(max_length=300)
206 subdir = dbmodels.CharField(blank=True, max_length=300)
207 kernel = dbmodels.ForeignKey(Kernel, db_column='kernel_idx')
208 status = dbmodels.ForeignKey(Status, db_column='status')
209 reason = dbmodels.CharField(blank=True, max_length=3072)
210 machine = dbmodels.ForeignKey(Machine, db_column='machine_idx')
211 finished_time = dbmodels.DateTimeField(null=True, blank=True)
212 started_time = dbmodels.DateTimeField(null=True, blank=True)
213 invalid = dbmodels.BooleanField(default=False)
214 invalidates_test = dbmodels.ForeignKey(
240 class TestAttribute(dbmodels.Model, model_logic.ModelExtensions):
242 test = dbmodels.ForeignKey(Test, db_column='test_idx')
243 attribute = dbmodels.CharField(max_length=90)
244 value = dbmodels.CharField(blank=True, max_length=300)
245 user_created = dbmodels.BooleanField(default=False)
254 class IterationAttribute(dbmodels.Model, model_logic.ModelExtensions):
258 test = dbmodels.ForeignKey(Test, db_column='test_idx', primary_key=True)
259 iteration = dbmodels.IntegerField()
260 attribute = dbmodels.CharField(max_length=90)
261 value = dbmodels.CharField(blank=True, max_length=300)
270 class IterationResult(dbmodels.Model, model_logic.ModelExtensions):
273 test = dbmodels.ForeignKey(Test, db_column='test_idx', primary_key=True)
274 iteration = dbmodels.IntegerField()
275 attribute = dbmodels.CharField(max_length=256)
276 value = dbmodels.FloatField(null=True, blank=True)
285 class TestLabel(dbmodels.Model, model_logic.ModelExtensions):
287 name = dbmodels.CharField(max_length=80, unique=True)
288 description = dbmodels.TextField(blank=True)
289 tests = dbmodels.ManyToManyField(Test, blank=True,
300 class SavedQuery(dbmodels.Model, model_logic.ModelExtensions):
303 owner = dbmodels.CharField(max_length=80)
304 name = dbmodels.CharField(max_length=100)
305 url_token = dbmodels.TextField()
675 class TestView(dbmodels.Model, model_logic.ModelExtensions):
699 test_idx = dbmodels.IntegerField('test index', primary_key=True)
700 job_idx = dbmodels.IntegerField('job index', null=True, blank=True)
701 test_name = dbmodels.CharField(blank=True, max_length=90)
702 subdir = dbmodels.CharField('subdirectory', blank=True, max_length=180)
703 kernel_idx = dbmodels.IntegerField('kernel index')
704 status_idx = dbmodels.IntegerField('status index')
705 reason = dbmodels.CharField(blank=True, max_length=3072)
706 machine_idx = dbmodels.IntegerField('host index')
707 test_started_time = dbmodels.DateTimeField(null=True, blank=True)
708 test_finished_time = dbmodels.DateTimeField(null=True, blank=True)
709 job_tag = dbmodels.CharField(blank=True, max_length=300)
710 job_name = dbmodels.CharField(blank=True, max_length=300)
711 job_owner = dbmodels.CharField('owner', blank=True, max_length=240)
712 job_queued_time = dbmodels.DateTimeField(null=True, blank=True)
713 job_started_time = dbmodels.DateTimeField(null=True, blank=True)
714 job_finished_time = dbmodels.DateTimeField(null=True, blank=True)
715 afe_job_id = dbmodels.IntegerField(null=True)
716 hostname = dbmodels.CharField(blank=True, max_length=300)
717 platform = dbmodels.CharField(blank=True, max_length=240)
718 machine_owner = dbmodels.CharField(blank=True, max_length=240)
719 kernel_hash = dbmodels.CharField(blank=True, max_length=105)
720 kernel_base = dbmodels.CharField(blank=True, max_length=90)
721 kernel = dbmodels.CharField(blank=True, max_length=300)
722 status = dbmodels.CharField(blank=True, max_length=30)
723 invalid = dbmodels.BooleanField(blank=True)
724 invalidates_test_idx = dbmodels.IntegerField(null=True, blank=True)