text: # Generated by Django 3.0.3 on 2020-02-21 16:04
  
  from django.db import migrations, models
  import django.db.models.deletion
  import django.utils.timezone
  import model_utils.fields
  import taggit.managers
  
  
  class Migration(migrations.Migration):
  
      initial = True
  
      dependencies = [
          ('taggit', '0003_taggeditem_add_unique_index'),
      ]
  
      operations = [
          migrations.CreateModel(
              name='VideoCategory',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('created', model_utils.fields.AutoCreatedField(default=django.utils.timezone.now, editable=False, verbose_name='created')),
                  ('modified', model_utils.fields.AutoLastModifiedField(default=django.utils.timezone.now, editable=False, verbose_name='modified')),
                  ('name', models.CharField(max_length=100)),
                  ('slug', models.SlugField(unique=True)),
              ],
              options={
                  'ordering': ['name'],
              },
          ),
          migrations.CreateModel(
              name='Video',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('created', model_utils.fields.AutoCreatedField(default=django.utils.timezone.now, editable=False, verbose_name='created')),
                  ('modified', model_utils.fields.AutoLastModifiedField(default=django.utils.timezone.now, editable=False, verbose_name='modified')),
                  ('title', models.CharField(max_length=250)),
                  ('description', models.TextField()),
                  ('thumbnail', models.URLField(blank=True, null=True)),
                  ('link', models.URLField()),
                  ('slug', models.SlugField(unique=True)),
                  ('category', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='videos.VideoCategory')),
                  ('tags', taggit.managers.TaggableManager(help_text='A comma-separated list of tags.', through='taggit.TaggedItem', to='taggit.Tag', verbose_name='Tags')),
              ],
              options={
                  'ordering': ['-created'],
              },
          ),
      ]
  