summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/bldcontrol/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/toaster/bldcontrol/models.py')
-rw-r--r--bitbake/lib/toaster/bldcontrol/models.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/models.py b/bitbake/lib/toaster/bldcontrol/models.py
index 8c271ffa94..4c54a59b1a 100644
--- a/bitbake/lib/toaster/bldcontrol/models.py
+++ b/bitbake/lib/toaster/bldcontrol/models.py
@@ -75,6 +75,11 @@ class BRLayer(models.Model):
75 commit = models.CharField(max_length = 254) 75 commit = models.CharField(max_length = 254)
76 dirpath = models.CharField(max_length = 254) 76 dirpath = models.CharField(max_length = 254)
77 77
78class BRBitbake(models.Model):
79 req = models.ForeignKey(BuildRequest, unique = True) # only one bitbake for a request
80 giturl = models.CharField(max_length =254)
81 commit = models.CharField(max_length = 254)
82 dirpath = models.CharField(max_length = 254)
78 83
79class BRVariable(models.Model): 84class BRVariable(models.Model):
80 req = models.ForeignKey(BuildRequest) 85 req = models.ForeignKey(BuildRequest)