# Generated by Django 3.1.11 on 2021-05-27 21:02

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


class Migration(migrations.Migration):

    dependencies = [
        ("users", "0002_auto_20210527_1721"),
    ]

    operations = [
        migrations.RemoveField(
            model_name="buyer",
            name="first_name",
        ),
        migrations.RemoveField(
            model_name="buyer",
            name="last_name",
        ),
        migrations.RemoveField(
            model_name="courier",
            name="first_name",
        ),
        migrations.RemoveField(
            model_name="courier",
            name="last_name",
        ),
        migrations.AddField(
            model_name="buyer",
            name="phone_number",
            field=models.CharField(blank=True, max_length=15, null=True),
        ),
        migrations.AddField(
            model_name="courier",
            name="phone_number",
            field=models.CharField(blank=True, max_length=15, null=True),
        ),
        migrations.AlterField(
            model_name="courier",
            name="status",
            field=models.CharField(
                choices=[
                    ("done", "Done"),
                    ("in_progress", "In progress"),
                    ("free", "Free"),
                ],
                default="free",
                max_length=30,
            ),
        ),
        migrations.AlterField(
            model_name="courier",
            name="user",
            field=models.OneToOneField(
                on_delete=django.db.models.deletion.CASCADE,
                primary_key=True,
                related_name="courier",
                serialize=False,
                to=settings.AUTH_USER_MODEL,
            ),
        ),
    ]
