text: # -*- coding: utf-8 -*-
  # Generated by Django 1.11.8 on 2019-07-03 14:02
  from __future__ import unicode_literals
  
  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='Comment',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('review', models.CharField(max_length=400)),
                  ('posted_by', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
              ],
          ),
          migrations.CreateModel(
              name='ContentRate',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('voted_at', models.DateTimeField(auto_now_add=True)),
                  ('rating', models.IntegerField(choices=[(0, '0'), (1, '1'), (2, '2'), (3, '3'), (4, '4'), (5, '5'), (6, '6'), (7, '7'), (8, '8'), (9, '9'), (10, '10')], default=0, null=True)),
              ],
          ),
          migrations.CreateModel(
              name='DesignRate',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('voted_at', models.DateTimeField(auto_now_add=True)),
                  ('rating', models.IntegerField(choices=[(0, '0'), (1, '1'), (2, '2'), (3, '3'), (4, '4'), (5, '5'), (6, '6'), (7, '7'), (8, '8'), (9, '9'), (10, '10')], default=0, null=True)),
              ],
          ),
          migrations.CreateModel(
              name='Profile',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('first_name', models.CharField(max_length=40)),
                  ('last_name', models.CharField(max_length=40)),
                  ('bio', models.TextField(blank=True, max_length=500)),
                  ('profile_pic', models.ImageField(blank=True, upload_to='images/')),
                  ('username', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
              ],
          ),
          migrations.CreateModel(
              name='Project',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('title', models.CharField(max_length=100)),
                  ('project_image', models.ImageField(upload_to='images/')),
                  ('project_description', models.TextField()),
                  ('link', models.URLField()),
                  ('posted', models.DateTimeField(auto_now_add=True)),
                  ('profile', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='projects', to='awaard.Profile')),
              ],
          ),
          migrations.CreateModel(
              name='UsabilityRate',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('voted_at', models.DateTimeField(auto_now_add=True)),
                  ('rating', models.IntegerField(choices=[(0, '0'), (1, '1'), (2, '2'), (3, '3'), (4, '4'), (5, '5'), (6, '6'), (7, '7'), (8, '8'), (9, '9'), (10, '10')], default=0, null=True)),
                  ('project', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='usability_rates', to='awaard.Project')),
                  ('voter', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
              ],
          ),
          migrations.AddField(
              model_name='designrate',
              name='project',
              field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='design_rates', to='awaard.Project'),
          ),
          migrations.AddField(
              model_name='designrate',
              name='voter',
              field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL),
          ),
          migrations.AddField(
              model_name='contentrate',
              name='project',
              field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='content_rates', to='awaard.Project'),
          ),
          migrations.AddField(
              model_name='contentrate',
              name='voter',
              field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL),
          ),
          migrations.AddField(
              model_name='comment',
              name='project',
              field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='comments', to='awaard.Project'),
          ),
      ]
  