# Generated by Django 2.2.15 on 2020-09-09 06:35

import django.contrib.postgres.fields.jsonb
from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('enrollments', '0004_enrollsurveyform_enrollsurveyformfield'),
    ]

    operations = [
        migrations.RemoveField(
            model_name='enrolleduser',
            name='parameters',
        ),
        migrations.AddField(
            model_name='enrolleduser',
            name='survey',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='enrolled_users', to='enrollments.EnrollSurveyForm', verbose_name='анкета при зачислении'),
        ),
        migrations.AddField(
            model_name='enrolleduser',
            name='survey_data',
            field=django.contrib.postgres.fields.jsonb.JSONField(default=dict, verbose_name='данные по анкете'),
        ),
        migrations.AddField(
            model_name='enrollment',
            name='survey',
            field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='enrollments', to='enrollments.EnrollSurveyForm', verbose_name='анкета при зачислении'),
        ),
    ]
