29 lines
1 KiB
Python
29 lines
1 KiB
Python
# 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'),
|
|
),
|
|
]
|