<gh_stars>1-10
# Generated by Django 3.0.4 on 2020-04-15 09:34

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ("facultymgr", "0001_initial"),
    ]

    operations = [
        migrations.CreateModel(
            name="Team",
            fields=[
                (
                    "id",
                    models.AutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("team_name", models.CharField(max_length=64, unique=True)),
                ("email_member_1", models.EmailField(max_length=254, unique=True)),
                ("email_member_2", models.EmailField(blank=True, max_length=254)),
                ("email_member_3", models.EmailField(blank=True, max_length=254)),
                ("email_member_4", models.EmailField(blank=True, max_length=254)),
            ],
        ),
        migrations.CreateModel(
            name="SubmissionScaleEval",
            fields=[
                (
                    "id",
                    models.AutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("username", models.CharField(blank=True, max_length=128)),
                ("timestamp", models.DateTimeField(default=django.utils.timezone.now)),
                ("marks", models.FloatField(default=-1)),
                ("message", models.TextField()),
                ("manager_ip", models.URLField()),
                (
                    "private_key_file",
                    models.FileField(
                        blank=True,
                        storage=studentmgr.models.OverwriteStorage(),
                        upload_to="key",
                    ),
                ),
                (
                    "evaluation",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        to="facultymgr.Evaluation",
                    ),
                ),
                (
                    "team",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        to="studentmgr.Team",
                    ),
                ),
            ],
        ),
        migrations.CreateModel(
            name="SubmissionCodeEval",
            fields=[
                (
                    "id",
                    models.AutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("username", models.CharField(blank=True, max_length=128)),
                ("timestamp", models.DateTimeField(default=django.utils.timezone.now)),
                ("marks", models.FloatField(default=-1)),
                ("message", models.TextField()),
                ("source_code_file", models.FileField(upload_to="source/code_eval/")),
                (
                    "evaluation",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        to="facultymgr.Evaluation",
                    ),
                ),
                (
                    "team",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        to="studentmgr.Team",
                    ),
                ),
            ],
        ),
        migrations.CreateModel(
            name="SubmissionAssignment3",
            fields=[
                (
                    "id",
                    models.AutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("timestamp", models.DateTimeField(default=django.utils.timezone.now)),
                (
                    "users_source_file",
                    models.FileField(
                        blank=True,
                        storage=studentmgr.models.OverwriteStorage(),
                        upload_to="source/users",
                    ),
                ),
                (
                    "rides_source_file",
                    models.FileField(
                        blank=True,
                        storage=studentmgr.models.OverwriteStorage(),
                        upload_to="source/rides",
                    ),
                ),
                ("lb_ip", models.CharField(blank=True, max_length=128)),
                ("users_ip", models.CharField(blank=True, max_length=128)),
                ("rides_ip", models.CharField(blank=True, max_length=128)),
                ("marks", models.FloatField(default=-1)),
                ("message", models.TextField()),
                (
                    "evaluation",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        to="facultymgr.Evaluation",
                    ),
                ),
                (
                    "team",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        to="studentmgr.Team",
                    ),
                ),
            ],
        ),
        migrations.CreateModel(
            name="Submission",
            fields=[
                (
                    "id",
                    models.AutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("username", models.CharField(blank=True, max_length=128)),
                ("timestamp", models.DateTimeField(default=django.utils.timezone.now)),
                ("marks", models.FloatField(default=-1)),
                ("message", models.TextField()),
                ("faculty_message", models.TextField(blank=True)),
                ("public_ip_address", models.URLField()),
                ("source_code_file", models.FileField(upload_to="source/api_test/")),
                (
                    "above_specification_choice",
                    models.CharField(blank=True, max_length=256, null=True),
                ),
                ("above_specification", models.TextField()),
                (
                    "above_specification_file",
                    models.FileField(upload_to="source/above_api_specification/"),
                ),
                (
                    "private_key_file",
                    models.FileField(
                        blank=True,
                        storage=studentmgr.models.OverwriteStorage(),
                        upload_to="key",
                    ),
                ),
                (
                    "evaluation",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        to="facultymgr.Evaluation",
                    ),
                ),
                (
                    "team",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        to="studentmgr.Team",
                    ),
                ),
            ],
        ),
    ]

# Generated by Django 3.0.4 on 2020-04-15 09:34

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ("facultymgr", "0001_initial"),
    ]

    operations = [
        migrations.CreateModel(
            name="Team",
            fields=[
                (
                    "id",
                    models.AutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("team_name", models.CharField(max_length=64, unique=True)),
                ("email_member_1", models.EmailField(max_length=254, unique=True)),
                ("email_member_2", models.EmailField(blank=True, max_length=254)),
                ("email_member_3", models.EmailField(blank=True, max_length=254)),
                ("email_member_4", models.EmailField(blank=True, max_length=254)),
            ],
        ),
        migrations.CreateModel(
            name="SubmissionScaleEval",
            fields=[
                (
                    "id",
                    models.AutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("username", models.CharField(blank=True, max_length=128)),
                ("timestamp", models.DateTimeField(default=django.utils.timezone.now)),
                ("marks", models.FloatField(default=-1)),
                ("message", models.TextField()),
                ("manager_ip", models.URLField()),
                (
                    "private_key_file",
                    models.FileField(
                        blank=True,
                        storage=studentmgr.models.OverwriteStorage(),
                        upload_to="key",
                    ),
                ),
                (
                    "evaluation",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        to="facultymgr.Evaluation",
                    ),
                ),
                (
                    "team",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        to="studentmgr.Team",
                    ),
                ),
            ],
        ),
        migrations.CreateModel(
            name="SubmissionCodeEval",
            fields=[
                (
                    "id",
                    models.AutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("username", models.CharField(blank=True, max_length=128)),
                ("timestamp", models.DateTimeField(default=django.utils.timezone.now)),
                ("marks", models.FloatField(default=-1)),
                ("message", models.TextField()),
                ("source_code_file", models.FileField(upload_to="source/code_eval/")),
                (
                    "evaluation",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        to="facultymgr.Evaluation",
                    ),
                ),
                (
                    "team",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        to="studentmgr.Team",
                    ),
                ),
            ],
        ),
        migrations.CreateModel(
            name="SubmissionAssignment3",
            fields=[
                (
                    "id",
                    models.AutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("timestamp", models.DateTimeField(default=django.utils.timezone.now)),
                (
                    "users_source_file",
                    models.FileField(
                        blank=True,
                        storage=studentmgr.models.OverwriteStorage(),
                        upload_to="source/users",
                    ),
                ),
                (
                    "rides_source_file",
                    models.FileField(
                        blank=True,
                        storage=studentmgr.models.OverwriteStorage(),
                        upload_to="source/rides",
                    ),
                ),
                ("lb_ip", models.CharField(blank=True, max_length=128)),
                ("users_ip", models.CharField(blank=True, max_length=128)),
                ("rides_ip", models.CharField(blank=True, max_length=128)),
                ("marks", models.FloatField(default=-1)),
                ("message", models.TextField()),
                (
                    "evaluation",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        to="facultymgr.Evaluation",
                    ),
                ),
                (
                    "team",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        to="studentmgr.Team",
                    ),
                ),
            ],
        ),
        migrations.CreateModel(
            name="Submission",
            fields=[
                (
                    "id",
                    models.AutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name="ID",
                    ),
                ),
                ("username", models.CharField(blank=True, max_length=128)),
                ("timestamp", models.DateTimeField(default=django.utils.timezone.now)),
                ("marks", models.FloatField(default=-1)),
                ("message", models.TextField()),
                ("faculty_message", models.TextField(blank=True)),
                ("public_ip_address", models.URLField()),
                ("source_code_file", models.FileField(upload_to="source/api_test/")),
                (
                    "above_specification_choice",
                    models.CharField(blank=True, max_length=256, null=True),
                ),
                ("above_specification", models.TextField()),
                (
                    "above_specification_file",
                    models.FileField(upload_to="source/above_api_specification/"),
                ),
                (
                    "private_key_file",
                    models.FileField(
                        blank=True,
                        storage=studentmgr.models.OverwriteStorage(),
                        upload_to="key",
                    ),
                ),
                (
                    "evaluation",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        to="facultymgr.Evaluation",
                    ),
                ),
                (
                    "team",
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE,
                        to="studentmgr.Team",
                    ),
                ),
            ],
        ),
    ]
# Generated by Django 3.0.4 on 2020-04-15 09:34