diff options
Diffstat (limited to 'bitbake/lib/toaster/orm/migrations')
| -rw-r--r-- | bitbake/lib/toaster/orm/migrations/0002_auto_20151223_1528.py | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/orm/migrations/0002_auto_20151223_1528.py b/bitbake/lib/toaster/orm/migrations/0002_auto_20151223_1528.py new file mode 100644 index 0000000000..194c897bdf --- /dev/null +++ b/bitbake/lib/toaster/orm/migrations/0002_auto_20151223_1528.py | |||
| @@ -0,0 +1,27 @@ | |||
| 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='Provides', | ||
| 16 | fields=[ | ||
| 17 | ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)), | ||
| 18 | ('name', models.CharField(max_length=100)), | ||
| 19 | ('recipe', models.ForeignKey(to='orm.Recipe')), | ||
| 20 | ], | ||
| 21 | ), | ||
| 22 | migrations.AddField( | ||
| 23 | model_name='recipe_dependency', | ||
| 24 | name='via', | ||
| 25 | field=models.ForeignKey(null=True, default=None, to='orm.Provides'), | ||
| 26 | ), | ||
| 27 | ] | ||
