mediacms/actions/migrations/0002_mediaaction_media.py

27 wiersze
606 B
Python

# Generated by Django 3.1.4 on 2020-12-01 07:12
import django.db.models.deletion
from django.db import migrations, models
class Migration(migrations.Migration):
initial = True
dependencies = [
("actions", "0001_initial"),
("files", "0001_initial"),
]
operations = [
migrations.AddField(
model_name="mediaaction",
name="media",
field=models.ForeignKey(
on_delete=django.db.models.deletion.CASCADE,
related_name="mediaactions",
to="files.media",
),
),
]