# Generated by Django 3.1.6 on 2021-03-11 08:00

from django.conf import settings
from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('main', '0008_auto_20210303_2305'),
    ]

    operations = [
        migrations.AlterField(
            model_name='rolechangelogs',
            name='change_time',
            field=models.DateTimeField(help_text='Дата и время изменения роли'),
        ),
        migrations.AlterField(
            model_name='rolechangelogs',
            name='changed_by',
            field=models.ForeignKey(help_text='Кем была изменена роль', on_delete=django.db.models.deletion.CASCADE, related_name='changed_by', to=settings.AUTH_USER_MODEL),
        ),
        migrations.AlterField(
            model_name='rolechangelogs',
            name='name',
            field=models.TextField(help_text='Имя пользователя'),
        ),
        migrations.AlterField(
            model_name='rolechangelogs',
            name='new_role',
            field=models.TextField(help_text='Присвоенная роль'),
        ),
        migrations.AlterField(
            model_name='rolechangelogs',
            name='user',
            field=models.ForeignKey(help_text='Пользователь, которому присвоили другую роль', on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL),
        ),
        migrations.AlterField(
            model_name='userprofile',
            name='image',
            field=models.URLField(blank=True, help_text='Аватарка', null=True),
        ),
        migrations.AlterField(
            model_name='userprofile',
            name='name',
            field=models.CharField(default='None', help_text='Имя пользователя на нашем сайте', max_length=100),
        ),
        migrations.AlterField(
            model_name='userprofile',
            name='role',
            field=models.CharField(default='None', help_text='Код роли пользователя', max_length=100),
        ),
        migrations.AlterField(
            model_name='userprofile',
            name='user',
            field=models.OneToOneField(help_text='Пользователь', on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL),
        ),
    ]
