text: # Generated by Django 2.2.7 on 2020-03-07 09:12
  
  from django.conf import settings
  from django.db import migrations, models
  import django.db.models.deletion
  
  
  class Migration(migrations.Migration):
  
      initial = True
  
      dependencies = [
          ('auth', '0011_update_proxy_permissions'),
          migrations.swappable_dependency(settings.AUTH_USER_MODEL),
      ]
  
      operations = [
          migrations.CreateModel(
              name='UserProfile',
              fields=[
                  ('username', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, primary_key=True, serialize=False, to=settings.AUTH_USER_MODEL)),
                  ('picture', models.ImageField(upload_to=None)),
                  ('bio', models.CharField(max_length=500)),
              ],
          ),
          migrations.CreateModel(
              name='Video',
              fields=[
                  ('username', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, primary_key=True, serialize=False, to=settings.AUTH_USER_MODEL)),
                  ('video_title', models.CharField(default='Untitled', max_length=500)),
                  ('video_url', models.URLField(default='NULL', max_length=500)),
                  ('stream_key', models.CharField(max_length=500)),
                  ('views', models.IntegerField(default=0)),
                  ('thumbnail', models.ImageField(upload_to=None)),
                  ('live', models.BooleanField(default=False)),
                  ('active', models.BooleanField(default=False)),
              ],
          ),
          migrations.CreateModel(
              name='Profile',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('user_streamkey', models.CharField(max_length=500)),
                  ('user', models.OneToOneField(blank=True, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
              ],
          ),
      ]
  