summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/toaster/orm/migrations/0015_layer_local_source_dir.py19
-rw-r--r--bitbake/lib/toaster/orm/models.py1
2 files changed, 20 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/orm/migrations/0015_layer_local_source_dir.py b/bitbake/lib/toaster/orm/migrations/0015_layer_local_source_dir.py
new file mode 100644
index 0000000000..9539cd72ad
--- /dev/null
+++ b/bitbake/lib/toaster/orm/migrations/0015_layer_local_source_dir.py
@@ -0,0 +1,19 @@
1# -*- coding: utf-8 -*-
2from __future__ import unicode_literals
3
4from django.db import migrations, models
5
6
7class Migration(migrations.Migration):
8
9 dependencies = [
10 ('orm', '0014_allow_empty_buildname'),
11 ]
12
13 operations = [
14 migrations.AddField(
15 model_name='layer',
16 name='local_source_dir',
17 field=models.TextField(null=True, default=None),
18 ),
19 ]
diff --git a/bitbake/lib/toaster/orm/models.py b/bitbake/lib/toaster/orm/models.py
index 1c9f3a9363..432b51e0e1 100644
--- a/bitbake/lib/toaster/orm/models.py
+++ b/bitbake/lib/toaster/orm/models.py
@@ -1353,6 +1353,7 @@ class Layer(models.Model):
1353 name = models.CharField(max_length=100) 1353 name = models.CharField(max_length=100)
1354 layer_index_url = models.URLField() 1354 layer_index_url = models.URLField()
1355 vcs_url = GitURLField(default=None, null=True) 1355 vcs_url = GitURLField(default=None, null=True)
1356 local_source_dir = models.TextField(null = True, default = None)
1356 vcs_web_url = models.URLField(null=True, default=None) 1357 vcs_web_url = models.URLField(null=True, default=None)
1357 vcs_web_tree_base_url = models.URLField(null=True, default=None) 1358 vcs_web_tree_base_url = models.URLField(null=True, default=None)
1358 vcs_web_file_base_url = models.URLField(null=True, default=None) 1359 vcs_web_file_base_url = models.URLField(null=True, default=None)