OpenSlides/openslides/assignments/migrations/0006_auto_20190119_1425.py

32 lines
887 B
Python
Raw Normal View History

# Generated by Django 2.1.5 on 2019-01-19 13:25
from django.conf import settings
from django.db import migrations, models
import openslides.utils.models
class Migration(migrations.Migration):
dependencies = [("assignments", "0005_auto_20180822_1042")]
operations = [
migrations.AlterField(
model_name="assignmentoption",
name="candidate",
field=models.ForeignKey(
null=True,
on_delete=openslides.utils.models.SET_NULL_AND_AUTOUPDATE,
to=settings.AUTH_USER_MODEL,
),
),
migrations.AlterField(
model_name="assignmentrelateduser",
name="user",
field=models.ForeignKey(
on_delete=openslides.utils.models.CASCADE_AND_AUTOUPDATE,
to=settings.AUTH_USER_MODEL,
),
),
]