text: # Generated by Django 3.1.7 on 2021-07-18 10:36
  
  from django.conf import settings
  from django.db import migrations, models
  import django.db.models.deletion
  import django_countries.fields
  
  
  class Migration(migrations.Migration):
  
      initial = True
  
      dependencies = [
          migrations.swappable_dependency(settings.AUTH_USER_MODEL),
      ]
  
      operations = [
          migrations.CreateModel(
              name='Sharing',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('s_teacher_name', models.CharField(default='', max_length=255)),
                  ('s_teacher_country', django_countries.fields.CountryField(blank=True, default='', max_length=2)),
                  ('s_student_country', django_countries.fields.CountryField(blank=True, default='', max_length=2)),
                  ('s_photo', models.ImageField(default='', upload_to='sharing/')),
                  ('s_appreciation', models.TextField(default='')),
                  ('s_learnings', models.TextField(default='')),
                  ('s_video_talk', models.FileField(default='', upload_to='talk/')),
                  ('s_video_dance', models.FileField(default='', upload_to='dance/')),
                  ('s_date', models.DateField(auto_now=True)),
                  ('s_location', models.CharField(max_length=255)),
                  ('s_teacher_video', models.URLField(blank=True, default='', max_length=255)),
                  ('teacher', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='teacher', to=settings.AUTH_USER_MODEL)),
                  ('username', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='student', to=settings.AUTH_USER_MODEL)),
              ],
              options={
                  'ordering': ['s_date'],
              },
          ),
          migrations.CreateModel(
              name='SharingMessage',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('messagetext', models.TextField(default='')),
                  ('created', models.DateTimeField(auto_now=True)),
                  ('shareid', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='qnaid', to='sharing.sharing')),
                  ('username', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='qna', to=settings.AUTH_USER_MODEL)),
              ],
          ),
          migrations.CreateModel(
              name='LikesToSharing',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('l_type', models.CharField(choices=[('LO', 'love'), ('DO', 'dope'), ('IS', 'inspiring'), ('RS', 'respect'), ('CT', 'cute'), ('IF', 'informative'), ('EM', 'emotional')], default='LO', max_length=2)),
                  ('l_liker', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
                  ('l_shareid', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='likes_sharing', to='sharing.sharing')),
              ],
          ),
          migrations.CreateModel(
              name='Comments',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('c_comment', models.TextField(default='')),
                  ('c_time', models.DateTimeField(auto_now=True)),
                  ('c_commenter', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
                  ('c_shareid', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='comments_sharing', to='sharing.sharing')),
              ],
          ),
      ]
  