0004_auto_20190310_1151.py 1.36 KB
Newer Older
Florent Chehab's avatar
Florent Chehab committed
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
# Generated by Django 2.1.7 on 2019-03-10 10:51

from django.db import migrations, models


class Migration(migrations.Migration):

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

    operations = [
        migrations.RemoveField(model_name="semester", name="moderated_by"),
        migrations.RemoveField(model_name="semester", name="updated_by"),
        migrations.RemoveField(model_name="userdata", name="black_list"),
        migrations.AddField(
            model_name="offer",
            name="year",
            field=models.PositiveIntegerField(default=2018),
        ),
        migrations.AddField(
            model_name="previousdeparture",
            name="year",
            field=models.PositiveIntegerField(default=2018),
        ),
        migrations.AlterField(
            model_name="offer",
            name="semester",
            field=models.CharField(
                choices=[("a", "autumn"), ("p", "spring")], default="a", max_length=2
            ),
        ),
        migrations.AlterField(
            model_name="previousdeparture",
            name="semester",
            field=models.CharField(
                choices=[("a", "autumn"), ("p", "spring")], default="a", max_length=2
            ),
        ),
        migrations.AlterUniqueTogether(name="offer", unique_together=set()),
        migrations.DeleteModel(name="Semester"),
    ]