right-tree/backend/right_tree/api/migrations/0005_auto_20211104_2246.py

30 lines
1 KiB
Python
Raw Normal View History

# Generated by Django 3.2.8 on 2021-11-04 22:46
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('api', '0004_alter_habitatimage_habitat'),
]
operations = [
migrations.AlterField(
model_name='zone',
name='redirect_habitat',
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='zone_redirects', to='api.habitatimage'),
),
migrations.AlterField(
model_name='zoneimagesegment',
name='habitat_image',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='image_segments', to='api.habitatimage'),
),
migrations.AlterField(
model_name='zoneimagesegment',
name='zone',
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='image_segments', to='api.zone'),
),
]