1 # Generated by Django 4.0.8 on 2022-12-20 13:23
3 from django.db import migrations, models
4 import django.db.models.deletion
7 class Migration(migrations.Migration):
15 migrations.CreateModel(
18 ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
19 ('slug', models.SlugField()),
22 migrations.CreateModel(
25 ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
26 ('name', models.CharField(max_length=255)),
29 migrations.CreateModel(
32 ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
33 ('youtube_id', models.CharField(blank=True, max_length=255)),
34 ('course', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='education.course')),
37 migrations.CreateModel(
40 ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
41 ('course', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='education.course')),
44 migrations.CreateModel(
47 ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
48 ('youtube_id', models.CharField(blank=True, max_length=255)),
49 ('order', models.IntegerField(blank=True, default=0)),
50 ('course', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='education.course')),
51 ('tags', models.ManyToManyField(blank=True, to='education.tag')),