mirror of
https://github.com/mediacms-io/mediacms.git
synced 2025-11-19 21:26:05 -05:00
MediaCMS backend, initial commit
This commit is contained in:
26
actions/migrations/0002_mediaaction_media.py
Normal file
26
actions/migrations/0002_mediaaction_media.py
Normal file
@@ -0,0 +1,26 @@
|
||||
# Generated by Django 3.1.4 on 2020-12-01 07:12
|
||||
|
||||
from django.db import migrations, models
|
||||
import django.db.models.deletion
|
||||
|
||||
|
||||
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",
|
||||
),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user