diff options
Diffstat (limited to 'bitbake/lib/toaster/bldcontrol/models.py')
-rw-r--r-- | bitbake/lib/toaster/bldcontrol/models.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/models.py b/bitbake/lib/toaster/bldcontrol/models.py index ab41105303..a3a49ce472 100644 --- a/bitbake/lib/toaster/bldcontrol/models.py +++ b/bitbake/lib/toaster/bldcontrol/models.py | |||
@@ -106,7 +106,7 @@ class BRLayer(models.Model): | |||
106 | layer_version = models.ForeignKey(Layer_Version, null=True) | 106 | layer_version = models.ForeignKey(Layer_Version, null=True) |
107 | 107 | ||
108 | class BRBitbake(models.Model): | 108 | class BRBitbake(models.Model): |
109 | req = models.ForeignKey(BuildRequest, unique = True) # only one bitbake for a request | 109 | req = models.OneToOneField(BuildRequest) # only one bitbake for a request |
110 | giturl = models.CharField(max_length =254) | 110 | giturl = models.CharField(max_length =254) |
111 | commit = models.CharField(max_length = 254) | 111 | commit = models.CharField(max_length = 254) |
112 | dirpath = models.CharField(max_length = 254) | 112 | dirpath = models.CharField(max_length = 254) |