# Generated by Django 5.1.3 on 2025-01-23 16:13

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


class Migration(migrations.Migration):

    dependencies = [
        ("app01", "0001_initial"),
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        migrations.RemoveField(
            model_name="userinfo",
            name="email",
        ),
        migrations.RemoveField(
            model_name="userinfo",
            name="password",
        ),
        migrations.RemoveField(
            model_name="userinfo",
            name="username",
        ),
        migrations.AddField(
            model_name="userinfo",
            name="user",
            field=models.OneToOneField(
                default=2,
                on_delete=django.db.models.deletion.CASCADE,
                related_name="info",
                to=settings.AUTH_USER_MODEL,
            ),
            preserve_default=False,
        ),
        migrations.AlterField(
            model_name="userinfo",
            name="nickname",
            field=models.CharField(blank=True, max_length=50, null=True),
        ),
        migrations.AlterField(
            model_name="userinfo",
            name="phone_number",
            field=models.CharField(blank=True, max_length=20, null=True),
        ),
    ]
