# Generated by Django 2.2a1 on 2019-03-03 02:01

from django.db import migrations, models
import django.db.models.deletion
import django.utils.timezone
import markdownx.models


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='Project',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=255)),
                ('description', markdownx.models.MarkdownxField(blank=True)),
                ('time_involvement', models.IntegerField(default=60)),
                ('applicant_requirements', models.TextField(blank=True)),
                ('created', models.DateTimeField(default=django.utils.timezone.now)),
            ],
        ),
        migrations.CreateModel(
            name='ProjectApplicant',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('status', models.CharField(choices=[('a', 'Accepted'), ('r', 'Rejected'), ('p', 'Pending')], default='p', max_length=10)),
                ('time_on_project', models.IntegerField(default=0)),
            ],
        ),
        migrations.CreateModel(
            name='ProjectPosition',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=255)),
                ('description', markdownx.models.MarkdownxField(blank=True)),
                ('filled', models.BooleanField(default=False)),
                ('time_involvement', models.IntegerField(default=60)),
                ('project', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='create_project.Project')),
            ],
        ),
    ]
