# Generated by Django 3.0.2 on 2020-03-24 15:57

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('app1', '0008_messagestable_comment'),
    ]

    operations = [
        migrations.CreateModel(
            name='ShiftsTable',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=20)),
                ('type', models.CharField(max_length=20)),
                ('startTime', models.TimeField()),
                ('endTime', models.TimeField()),
            ],
        ),
        migrations.RemoveField(
            model_name='teammemberstable',
            name='supervisor',
        ),
        migrations.CreateModel(
            name='ShiftLogTable',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('dateShift', models.DateField()),
                ('onMission', models.BooleanField()),
                ('addedShift', models.BooleanField()),
                ('isPresent', models.BooleanField()),
                ('isChanged', models.BooleanField()),
                ('isDealt', models.BooleanField()),
                ('shift', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='app1.ShiftsTable')),
                ('team', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='app1.TeamMembersTable')),
            ],
        ),
    ]
