# -*- coding: utf-8 -*-
from __future__ import unicode_literals

from django.db import models, migrations
from django.conf import settings


class Migration(migrations.Migration):

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        migrations.CreateModel(
            name='Field',
            fields=[
                ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
                ('name', models.CharField(max_length=50)),
            ],
        ),
        migrations.CreateModel(
            name='ResearchProject',
            fields=[
                ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
                ('supervisor', models.CharField(max_length=100, verbose_name=b"Supervisor's name")),
                ('title', models.CharField(max_length=100)),
                ('description', models.TextField()),
                ('required_role', models.CharField(max_length=100)),
                ('status', models.CharField(default=b'A', max_length=10, choices=[(b'A', b'applied'), (b'N', b'new'), (b'IP', b'in progress'), (b'P', b'puplished')])),
                ('communication', models.TextField()),
                ('date', models.DateTimeField(auto_now_add=True)),
                ('creator', models.ForeignKey(related_name='creator', to=settings.AUTH_USER_MODEL)),
                ('field', models.ForeignKey(verbose_name=b'field', to='matching_program.Field', null=True)),
                ('members', models.ManyToManyField(related_name='members', verbose_name=b'members', to=settings.AUTH_USER_MODEL, blank=True)),
            ],
        ),
        migrations.CreateModel(
            name='Skills',
            fields=[
                ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
                ('name', models.CharField(max_length=50)),
            ],
        ),
        migrations.CreateModel(
            name='StudentApplication',
            fields=[
                ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
                ('experience', models.TextField()),
                ('advantages', models.TextField(verbose_name=b'Why we should pick you?')),
                ('date', models.DateTimeField(auto_now_add=True)),
                ('research', models.ForeignKey(to='matching_program.ResearchProject')),
                ('skills', models.ManyToManyField(to='matching_program.Skills')),
                ('user', models.ForeignKey(related_name='user', to=settings.AUTH_USER_MODEL)),
            ],
        ),
    ]

@@ -58,16 +58,29 @@
 terals%0A%0A
+%3C%3C%3C%3C%3C%3C%3C HEAD%0A
 from dja
@@ -112,16 +112,114 @@
 rations%0A
+=======%0Afrom django.db import migrations, models%0A%3E%3E%3E%3E%3E%3E%3E 07b5042b519a3e6c88661bf11541554fde18b19f%0A
 from dja
@@ -1448,32 +1448,45 @@
 now_add=True)),%0A
+%3C%3C%3C%3C%3C%3C%3C HEAD%0A
                 
@@ -1814,32 +1814,427 @@
 , blank=True)),%0A
+=======%0A                ('creator', models.OneToOneField(related_name='creator', to=settings.AUTH_USER_MODEL)),%0A                ('field', models.ManyToManyField(to='matching_program.Field', verbose_name=b'field')),%0A                ('members', models.ManyToManyField(related_name='members', verbose_name=b'members', to=settings.AUTH_USER_MODEL)),%0A%3E%3E%3E%3E%3E%3E%3E 07b5042b519a3e6c88661bf11541554fde18b19f%0A
             %5D,%0A 
@@ -3106,24 +3106,37 @@
 .Skills')),%0A
+%3C%3C%3C%3C%3C%3C%3C HEAD%0A
             
@@ -3210,32 +3210,163 @@
 H_USER_MODEL)),%0A
+=======%0A                ('user', models.ForeignKey(to=settings.AUTH_USER_MODEL)),%0A%3E%3E%3E%3E%3E%3E%3E 07b5042b519a3e6c88661bf11541554fde18b19f%0A
             %5D,%0A 

add migration