-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
closes #22
- Loading branch information
Showing
3 changed files
with
120 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,7 +45,6 @@ def get_json_env_var(name, default): | |
['localhost'], | ||
) | ||
|
||
|
||
# Application definition | ||
|
||
INSTALLED_APPS = [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,112 @@ | ||
# from django.db import models | ||
from django.db import models | ||
|
||
# Create your models here. | ||
|
||
class Tests(models.Model): | ||
field_timestamp = models.DateTimeField(db_column='_timestamp', blank=True, null=True) | ||
build_id = models.TextField() | ||
id = models.TextField(primary_key=True) | ||
origin = models.TextField() | ||
environment_comment = models.TextField(blank=True, null=True) | ||
environment_misc = models.JSONField(blank=True, null=True) | ||
path = models.TextField(blank=True, null=True) | ||
comment = models.TextField(blank=True, null=True) | ||
log_url = models.TextField(blank=True, null=True) | ||
log_excerpt = models.CharField(max_length=16384, blank=True, null=True) | ||
status = models.TextField(blank=True, null=True) # This field type is a guess. | ||
waived = models.BooleanField(blank=True, null=True) | ||
start_time = models.DateTimeField(blank=True, null=True) | ||
duration = models.FloatField(blank=True, null=True) | ||
output_files = models.JSONField(blank=True, null=True) | ||
misc = models.JSONField(blank=True, null=True) | ||
|
||
class Meta: | ||
managed = False | ||
db_table = 'tests' | ||
|
||
|
||
class Issues(models.Model): | ||
field_timestamp = models.DateTimeField(db_column='_timestamp', blank=True, null=True) | ||
id = models.TextField(primary_key=True) | ||
version = models.IntegerField() | ||
origin = models.TextField() | ||
report_url = models.TextField(blank=True, null=True) | ||
report_subject = models.TextField(blank=True, null=True) | ||
culprit_code = models.BooleanField(blank=True, null=True) | ||
culprit_tool = models.BooleanField(blank=True, null=True) | ||
culprit_harness = models.BooleanField(blank=True, null=True) | ||
build_valid = models.BooleanField(blank=True, null=True) | ||
test_status = models.TextField(blank=True, null=True) | ||
comment = models.TextField(blank=True, null=True) | ||
misc = models.JSONField(blank=True, null=True) | ||
|
||
class Meta: | ||
managed = False | ||
db_table = 'issues' | ||
unique_together = (('id', 'version'),) | ||
|
||
|
||
class Incidents(models.Model): | ||
field_timestamp = models.DateTimeField(db_column='_timestamp', blank=True, null=True) | ||
id = models.TextField(primary_key=True) | ||
origin = models.TextField() | ||
issue_id = models.TextField() | ||
issue_version = models.IntegerField() | ||
build_id = models.TextField(blank=True, null=True) | ||
test_id = models.TextField(blank=True, null=True) | ||
present = models.BooleanField(blank=True, null=True) | ||
comment = models.TextField(blank=True, null=True) | ||
misc = models.JSONField(blank=True, null=True) | ||
|
||
class Meta: | ||
managed = False | ||
db_table = 'incidents' | ||
|
||
|
||
class Checkouts(models.Model): | ||
field_timestamp = models.DateTimeField(db_column='_timestamp', blank=True, null=True) | ||
id = models.TextField(primary_key=True) | ||
origin = models.TextField() | ||
tree_name = models.TextField(blank=True, null=True) | ||
git_repository_url = models.TextField(blank=True, null=True) | ||
git_commit_hash = models.TextField(blank=True, null=True) | ||
git_commit_name = models.TextField(blank=True, null=True) | ||
git_repository_branch = models.TextField(blank=True, null=True) | ||
patchset_files = models.JSONField(blank=True, null=True) | ||
patchset_hash = models.TextField(blank=True, null=True) | ||
message_id = models.TextField(blank=True, null=True) | ||
comment = models.TextField(blank=True, null=True) | ||
start_time = models.DateTimeField(blank=True, null=True) | ||
contacts = models.JSONField(blank=True, null=True) | ||
log_url = models.TextField(blank=True, null=True) | ||
log_excerpt = models.CharField(max_length=16384, blank=True, null=True) | ||
valid = models.BooleanField(blank=True, null=True) | ||
misc = models.JSONField(blank=True, null=True) | ||
|
||
class Meta: | ||
managed = False | ||
db_table = 'checkouts' | ||
|
||
|
||
class Builds(models.Model): | ||
field_timestamp = models.DateTimeField(db_column='_timestamp', blank=True, null=True) | ||
checkout_id = models.TextField() | ||
id = models.TextField(primary_key=True) | ||
origin = models.TextField() | ||
comment = models.TextField(blank=True, null=True) | ||
start_time = models.DateTimeField(blank=True, null=True) | ||
duration = models.FloatField(blank=True, null=True) | ||
architecture = models.TextField(blank=True, null=True) | ||
command = models.TextField(blank=True, null=True) | ||
compiler = models.TextField(blank=True, null=True) | ||
input_files = models.JSONField(blank=True, null=True) | ||
output_files = models.JSONField(blank=True, null=True) | ||
config_name = models.TextField(blank=True, null=True) | ||
config_url = models.TextField(blank=True, null=True) | ||
log_url = models.TextField(blank=True, null=True) | ||
log_excerpt = models.CharField(max_length=16384, blank=True, null=True) | ||
valid = models.BooleanField(blank=True, null=True) | ||
misc = models.JSONField(blank=True, null=True) | ||
|
||
class Meta: | ||
managed = False | ||
db_table = 'builds' |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.