summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/orm/migrations/0002_auto_20151210_1209.py
blob: d15ceaa2be4aaf647ba320d492259a9e5ef0ac49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [
        ('orm', '0001_initial'),
    ]

    operations = [
        migrations.AddField(
            model_name='customimagerecipe',
            name='recipe_ptr',
            field=models.OneToOneField(parent_link=True, auto_created=True, default=None, serialize=False, to='orm.Recipe'),
            preserve_default=False,
        ),
        migrations.AlterField(
            model_name='customimagerecipe',
            name='base_recipe',
            field=models.ForeignKey(related_name='based_on_recipe', to='orm.Recipe'),
        ),
        migrations.AlterUniqueTogether(
            name='customimagerecipe',
            unique_together=set([]),
        ),
        migrations.RemoveField(
            model_name='customimagerecipe',
            name='id',
        ),
        migrations.RemoveField(
            model_name='customimagerecipe',
            name='name',
        ),
        migrations.RemoveField(
            model_name='customimagerecipe',
            name='packages',
        ),
    ]