From 1a4d352d858c9de66e6d8d533bbf18b197580488 Mon Sep 17 00:00:00 2001 From: Chris Giacofei Date: Mon, 17 Jun 2024 16:24:24 -0400 Subject: [PATCH] Forgot to commit this. --- .../0005_recipehop_time_recipehop_use.py | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 beer/migrations/0005_recipehop_time_recipehop_use.py diff --git a/beer/migrations/0005_recipehop_time_recipehop_use.py b/beer/migrations/0005_recipehop_time_recipehop_use.py new file mode 100644 index 0000000..c76d68e --- /dev/null +++ b/beer/migrations/0005_recipehop_time_recipehop_use.py @@ -0,0 +1,24 @@ +# Generated by Django 5.0.6 on 2024-06-17 18:24 + +import django.core.validators +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('beer', '0004_fermentable_hop_mash_misc_supplier_unit_and_more'), + ] + + operations = [ + migrations.AddField( + model_name='recipehop', + name='time', + field=models.IntegerField(default=60, validators=[django.core.validators.MinValueValidator(0)]), + ), + migrations.AddField( + model_name='recipehop', + name='use', + field=models.IntegerField(choices=[(1, 'Boil'), (2, 'Dry Hop'), (3, 'Aroma (Hop Stand)'), (4, 'Mash'), (5, 'First Wort')], default=1), + ), + ]