diff options
Diffstat (limited to 'bitbake/lib/toaster/orm/migrations/0002_customimagerecipe.py')
-rw-r--r-- | bitbake/lib/toaster/orm/migrations/0002_customimagerecipe.py | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/orm/migrations/0002_customimagerecipe.py b/bitbake/lib/toaster/orm/migrations/0002_customimagerecipe.py new file mode 100644 index 0000000000..9cec82e8d4 --- /dev/null +++ b/bitbake/lib/toaster/orm/migrations/0002_customimagerecipe.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', '0001_initial'), | ||
11 | ] | ||
12 | |||
13 | operations = [ | ||
14 | migrations.CreateModel( | ||
15 | name='CustomImageRecipe', | ||
16 | fields=[ | ||
17 | ('recipe_ptr', models.OneToOneField(parent_link=True, auto_created=True, primary_key=True, serialize=False, to='orm.Recipe')), | ||
18 | ('last_updated', models.DateTimeField(default=None, null=True)), | ||
19 | ('base_recipe', models.ForeignKey(related_name='based_on_recipe', to='orm.Recipe')), | ||
20 | ('project', models.ForeignKey(to='orm.Project')), | ||
21 | ], | ||
22 | bases=('orm.recipe',), | ||
23 | ), | ||
24 | ] | ||