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

Make migration to add Link model

parent bfaa8083
No related branches found
No related tags found
No related merge requests found
# Generated by Django 3.2.11 on 2022-01-27 16:33
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
dependencies = [
('program', '0010_remove_schedule_automation_id'),
]
operations = [
migrations.CreateModel(
name='Link',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('description', models.CharField(max_length=8)),
('url', models.URLField()),
('host', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='links', to='program.host')),
],
),
]
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