summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/toaster/bldcontrol/models.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/bitbake/lib/toaster/bldcontrol/models.py b/bitbake/lib/toaster/bldcontrol/models.py
index 83b696947f..409614b9e7 100644
--- a/bitbake/lib/toaster/bldcontrol/models.py
+++ b/bitbake/lib/toaster/bldcontrol/models.py
@@ -126,13 +126,14 @@ class BuildRequest(models.Model):
126# These tables specify the settings for running an actual build. 126# These tables specify the settings for running an actual build.
127# They MUST be kept in sync with the tables in orm.models.Project* 127# They MUST be kept in sync with the tables in orm.models.Project*
128 128
129
129class BRLayer(models.Model): 130class BRLayer(models.Model):
130 req = models.ForeignKey(BuildRequest) 131 req = models.ForeignKey(BuildRequest)
131 name = models.CharField(max_length = 100) 132 name = models.CharField(max_length=100)
132 giturl = models.CharField(max_length = 254) 133 giturl = models.CharField(max_length=254, null=True)
133 local_source_dir = models.CharField(max_length=254, null=True) 134 local_source_dir = models.CharField(max_length=254, null=True)
134 commit = models.CharField(max_length = 254) 135 commit = models.CharField(max_length=254, null=True)
135 dirpath = models.CharField(max_length = 254) 136 dirpath = models.CharField(max_length=254, null=True)
136 layer_version = models.ForeignKey(Layer_Version, null=True) 137 layer_version = models.ForeignKey(Layer_Version, null=True)
137 138
138class BRBitbake(models.Model): 139class BRBitbake(models.Model):