Migrations for new database field.

This commit is contained in:
Chris Giacofei 2024-06-13 17:28:03 -04:00
parent b1332dede9
commit 61b5a860e1

View File

@ -0,0 +1,32 @@
# Generated by Django 5.0.6 on 2024-06-13 21:26
import django.db.models.deletion
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('beer', '0002_userprofile'),
]
operations = [
migrations.DeleteModel(
name='Recipe',
),
migrations.AddField(
model_name='batchrecipe',
name='batch_recipe',
field=models.BooleanField(null=True),
),
migrations.AddField(
model_name='batchrecipe',
name='recipe_json',
field=models.TextField(blank=True, null=True),
),
migrations.AlterField(
model_name='batch',
name='recipe',
field=models.OneToOneField(default=1, on_delete=django.db.models.deletion.CASCADE, to='beer.batchrecipe'),
),
]