text: # Generated by Django 2.2.24 on 2021-07-25 14:08
  
  from django.conf import settings
  from django.db import migrations, models
  import django.db.models.deletion
  
  
  class Migration(migrations.Migration):
  
      initial = True
  
      dependencies = [
          migrations.swappable_dependency(settings.AUTH_USER_MODEL),
      ]
  
      operations = [
          migrations.CreateModel(
              name="Profile",
              fields=[
                  (
                      "id",
                      models.AutoField(
                          auto_created=True,
                          primary_key=True,
                          serialize=False,
                          verbose_name="ID",
                      ),
                  ),
                  ("photo", models.URLField()),
                  ("timestamp_created", models.DateTimeField(auto_now_add=True)),
                  ("last_updated", models.DateTimeField(auto_now=True)),
                  (
                      "user",
                      models.OneToOneField(
                          on_delete=django.db.models.deletion.CASCADE,
                          related_name="profile_user",
                          to=settings.AUTH_USER_MODEL,
                      ),
                  ),
              ],
          ),
          migrations.CreateModel(
              name="ContactInfo",
              fields=[
                  (
                      "id",
                      models.AutoField(
                          auto_created=True,
                          primary_key=True,
                          serialize=False,
                          verbose_name="ID",
                      ),
                  ),
                  ("first_name", models.CharField(max_length=255)),
                  ("last_name", models.CharField(max_length=255)),
                  ("phone", models.CharField(max_length=20)),
                  ("address", models.TextField()),
                  ("is_default", models.BooleanField()),
                  (
                      "profile",
                      models.ForeignKey(
                          on_delete=django.db.models.deletion.CASCADE,
                          related_name="contactinfo_profile",
                          to="delivery_user_profile.Profile",
                      ),
                  ),
              ],
          ),
      ]
  