brewery-website/beer/migrations/0009_batchrecipe_equipment_and_more.py
Chris Giacofei ea4340c8ea Add parent field to all recipe relations.
Need to make a copy of master item when attaching
to a recipe.
Also add some more calculations.
2024-06-18 20:41:58 -04:00

43 lines
1.4 KiB
Python

# Generated by Django 5.0.6 on 2024-06-19 00:13
import django.db.models.deletion
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('beer', '0008_alter_equipmentprofile_parent_and_more'),
]
operations = [
migrations.AddField(
model_name='batchrecipe',
name='equipment',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, to='beer.equipmentprofile'),
),
migrations.AlterField(
model_name='equipmentprofile',
name='leaf_hop_trub',
field=models.DecimalField(decimal_places=4, default=0.0625, max_digits=6),
),
migrations.AlterField(
model_name='equipmentprofile',
name='mt_heat_loss_hour',
field=models.DecimalField(decimal_places=4, default=2.0, max_digits=6),
),
migrations.AlterField(
model_name='equipmentprofile',
name='mt_initial_hear',
field=models.DecimalField(decimal_places=4, default=0.74, max_digits=6),
),
migrations.AlterField(
model_name='equipmentprofile',
name='pellet_hop_trub',
field=models.DecimalField(decimal_places=4, default=0.025, max_digits=6),
),
migrations.DeleteModel(
name='RecipeEquipment',
),
]