hc
2023-11-07 f45e756958099c35d6afb746df1d40a1c6302cfc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
 
from django.db import migrations, models
 
 
class Migration(migrations.Migration):
 
    dependencies = [
        ('orm', '0001_initial'),
    ]
 
    operations = [
        migrations.CreateModel(
            name='CustomImageRecipe',
            fields=[
                ('recipe_ptr', models.OneToOneField(parent_link=True, auto_created=True, primary_key=True, serialize=False, to='orm.Recipe', on_delete=models.CASCADE)),
                ('last_updated', models.DateTimeField(default=None, null=True)),
                ('base_recipe', models.ForeignKey(related_name='based_on_recipe', to='orm.Recipe', on_delete=models.CASCADE)),
                ('project', models.ForeignKey(to='orm.Project', on_delete=models.CASCADE)),
            ],
            bases=('orm.recipe',),
        ),
    ]