diff options
-rw-r--r-- | bitbake/lib/toaster/orm/migrations/0003_customimagepackage.py | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/orm/migrations/0003_customimagepackage.py b/bitbake/lib/toaster/orm/migrations/0003_customimagepackage.py new file mode 100644 index 0000000000..d2ea8205b3 --- /dev/null +++ b/bitbake/lib/toaster/orm/migrations/0003_customimagepackage.py | |||
@@ -0,0 +1,24 @@ | |||
1 | # -*- coding: utf-8 -*- | ||
2 | from __future__ import unicode_literals | ||
3 | |||
4 | from django.db import migrations, models | ||
5 | |||
6 | |||
7 | class Migration(migrations.Migration): | ||
8 | |||
9 | dependencies = [ | ||
10 | ('orm', '0002_auto_20151210_1209'), | ||
11 | ] | ||
12 | |||
13 | operations = [ | ||
14 | migrations.CreateModel( | ||
15 | name='CustomImagePackage', | ||
16 | fields=[ | ||
17 | ('package_ptr', models.OneToOneField(parent_link=True, auto_created=True, primary_key=True, serialize=False, to='orm.Package')), | ||
18 | ('recipe_appends', models.ManyToManyField(related_name='appends_set', to='orm.CustomImageRecipe')), | ||
19 | ('recipe_excludes', models.ManyToManyField(related_name='excludes_set', to='orm.CustomImageRecipe')), | ||
20 | ('recipe_includes', models.ManyToManyField(related_name='includes_set', to='orm.CustomImageRecipe')), | ||
21 | ], | ||
22 | bases=('orm.package',), | ||
23 | ), | ||
24 | ] | ||