text: # Generated by Django 2.2.6 on 2019-10-19 19:22
  
  from django.conf import settings
  from django.db import migrations, models
  import django.db.models.deletion
  
  
  class Migration(migrations.Migration):
  
      initial = True
  
      dependencies = [
          migrations.swappable_dependency(settings.AUTH_USER_MODEL),
      ]
  
      operations = [
          migrations.CreateModel(
              name='Project',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('title', models.CharField(max_length=60)),
                  ('landing_page', models.ImageField(upload_to='uploads/')),
                  ('description', models.TextField()),
                  ('live_link', models.TextField()),
                  ('posted_on', models.DateTimeField(auto_now_add=True)),
                  ('category', models.CharField(blank=True, max_length=50)),
              ],
          ),
          migrations.CreateModel(
              name='Tag',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('name', models.CharField(max_length=20)),
              ],
          ),
          migrations.CreateModel(
              name='Technology',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('name', models.CharField(max_length=40)),
              ],
          ),
          migrations.CreateModel(
              name='Rating',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('design', models.IntegerField()),
                  ('usability', models.IntegerField()),
                  ('creativity', models.IntegerField()),
                  ('content', models.IntegerField()),
                  ('project', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='project_rating', to='award.Project')),
                  ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='person_rating', to=settings.AUTH_USER_MODEL)),
              ],
          ),
          migrations.AddField(
              model_name='project',
              name='tag',
              field=models.ManyToManyField(to='award.Tag'),
          ),
          migrations.AddField(
              model_name='project',
              name='technologies',
              field=models.ManyToManyField(to='award.Technology'),
          ),
          migrations.AddField(
              model_name='project',
              name='user',
              field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL),
          ),
          migrations.CreateModel(
              name='Profile',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('profile_pic', models.ImageField(default='default.jpg', upload_to='profile/')),
                  ('bio', models.TextField()),
                  ('phone_number', models.IntegerField(blank=True)),
                  ('nationality', models.CharField(max_length=40)),
                  ('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
              ],
          ),
      ]
  