LORDCHANNEL2.0/SerieTV/migrations/0016_immagini.py

23 lines
719 B
Python
Raw Normal View History

2021-03-13 18:36:50 +00:00
# Generated by Django 3.1.1 on 2020-10-10 12:29
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('SerieTV', '0015_serietv_durata'),
]
operations = [
migrations.CreateModel(
name='Immagini',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('immagini', models.ImageField(blank=True, null=True, upload_to='')),
('serietv', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='immagini_serietv', to='SerieTV.serietv')),
],
),
]