diff options
Diffstat (limited to 'app/garden/migrations/0002_plant_family.py')
-rw-r--r-- | app/garden/migrations/0002_plant_family.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/app/garden/migrations/0002_plant_family.py b/app/garden/migrations/0002_plant_family.py new file mode 100644 index 0000000..db81791 --- /dev/null +++ b/app/garden/migrations/0002_plant_family.py @@ -0,0 +1,18 @@ +# Generated by Django 2.1.2 on 2020-07-05 16:27 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('garden', '0001_initial'), + ] + + operations = [ + migrations.AddField( + model_name='plant', + name='family', + field=models.IntegerField(choices=[(0, 'Tomatoes'), (1, 'Cucumbers'), (2, 'Watermelons'), (3, 'Pumkins'), (4, 'Basil')], default=0), + ), + ] |