right-tree/backend/right_tree/api/migrations/0010_auto_20211201_2155.py

28 lines
772 B
Python
Raw Permalink Normal View History

# Generated by Django 3.2.8 on 2021-12-01 21:55
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('api', '0009_alter_plant_options'),
]
operations = [
migrations.AddField(
model_name='zone',
name='habitat',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='zones', to='api.habitat'),
),
migrations.AddField(
model_name='zone',
name='related_svg_segment',
field=models.CharField(blank=True, max_length=20, null=True),
),
migrations.DeleteModel(
name='ZoneImageSegment',
),
]