0004_auto_20190629_1941.py 3.79 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118
# Generated by Django 2.1.7 on 2019-06-29 17:41

import django.core.validators
from django.db import migrations, models


class Migration(migrations.Migration):

    dependencies = [("backend_app", "0003_auto_20190629_1122")]

    operations = [
        migrations.AddField(
            model_name="course",
            name="unlinked",
            field=models.BooleanField(default=False),
        ),
        migrations.AddField(
            model_name="coursefeedback",
            name="untouched",
            field=models.BooleanField(default=True),
        ),
        migrations.AddField(
            model_name="exchange",
            name="unlinked",
            field=models.BooleanField(default=False),
        ),
        migrations.AddField(
            model_name="exchangefeedback",
            name="untouched",
            field=models.BooleanField(default=True),
        ),
        migrations.AlterField(
            model_name="course",
            name="code",
            field=models.CharField(blank=True, max_length=10, null=True),
        ),
        migrations.AlterField(
            model_name="exchange",
            name="semester",
            field=models.CharField(
                choices=[("A", "autumn"), ("P", "spring")],
                default="A",
                max_length=1,
                null=True,
            ),
        ),
        migrations.AlterField(
            model_name="exchange",
            name="student_major",
            field=models.CharField(blank=True, max_length=20),
        ),
        migrations.AlterField(
            model_name="exchange",
            name="student_minor",
            field=models.CharField(blank=True, max_length=47, null=True),
        ),
        migrations.AlterField(
            model_name="exchange",
            name="student_option",
            field=models.CharField(blank=True, max_length=7, null=True),
        ),
        migrations.AlterField(
            model_name="exchangefeedback",
            name="academical_level_appreciation",
            field=models.IntegerField(
                default=0,
                validators=[
                    django.core.validators.MinValueValidator(-5),
                    django.core.validators.MaxValueValidator(5),
                ],
            ),
        ),
        migrations.AlterField(
            model_name="exchangefeedback",
            name="cultural_interest",
            field=models.IntegerField(
                default=0,
                validators=[
                    django.core.validators.MinValueValidator(-5),
                    django.core.validators.MaxValueValidator(5),
                ],
            ),
        ),
        migrations.AlterField(
            model_name="exchangefeedback",
            name="foreign_student_welcome",
            field=models.IntegerField(
                default=0,
                validators=[
                    django.core.validators.MinValueValidator(-5),
                    django.core.validators.MaxValueValidator(5),
                ],
            ),
        ),
        migrations.AlterField(
            model_name="offer",
            name="semester",
            field=models.CharField(
                choices=[("A", "autumn"), ("P", "spring")],
                default="A",
                max_length=2,
                null=True,
            ),
        ),
        migrations.AlterField(
            model_name="partner",
            name="address1",
            field=models.CharField(blank=True, max_length=100, null=True),
        ),
        migrations.AlterField(
            model_name="partner",
            name="address2",
            field=models.CharField(blank=True, max_length=100, null=True),
        ),
        migrations.AlterUniqueTogether(
            name="offer", unique_together={("utc_partner_id", "year", "semester")}
        ),
    ]