# Generated by Django 3.0.11 on 2021-02-04 00:24

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('courses', '0033_coursemodule'),
    ]

    operations = [
        migrations.CreateModel(
            name='LinkResource',
            fields=[
                ('coursemodule_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='courses.CourseModule')),
                ('url', models.URLField(verbose_name='ссылка')),
            ],
            options={
                'verbose_name': 'Ссылка',
                'verbose_name_plural': 'Ссылки',
            },
            bases=('courses.coursemodule',),
        ),
        migrations.CreateModel(
            name='TextResource',
            fields=[
                ('coursemodule_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='courses.CourseModule')),
                ('content', models.TextField(blank=True, verbose_name='содержимое')),
            ],
            options={
                'verbose_name': 'Текст',
                'verbose_name_plural': 'Текст',
            },
            bases=('courses.coursemodule',),
        ),
    ]
