Skip to content
Snippets Groups Projects
Commit 8ddfc345 authored by Ernesto Rico Schmidt's avatar Ernesto Rico Schmidt
Browse files

Add migration to add ShowLink model

parent 50d8737d
No related branches found
No related tags found
No related merge requests found
# Generated by Django 3.2.13 on 2022-05-04 20:05
import django.db.models.deletion
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
("program", "0020_remove_note_audio_url"),
]
operations = [
migrations.CreateModel(
name="ShowLink",
fields=[
(
"id",
models.AutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
("description", models.CharField(max_length=16)),
("url", models.URLField()),
(
"show",
models.ForeignKey(
on_delete=django.db.models.deletion.CASCADE,
related_name="shows",
to="program.show",
),
),
],
options={
"abstract": False,
},
),
]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment