# Generated by Django 3.2.13 on 2023-07-23 12:23

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


class Migration(migrations.Migration):

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('authentication', '0005_auto_20230720_1509'),
    ]

    operations = [
        migrations.AddField(
            model_name='bankcard',
            name='user_bank_id_key',
            field=models.IntegerField(null=True),
        ),
        migrations.AddField(
            model_name='city',
            name='city_id_key',
            field=models.IntegerField(null=True),
        ),
        migrations.AddField(
            model_name='city',
            name='province_id_foreign_key',
            field=models.IntegerField(null=True),
        ),
        migrations.AddField(
            model_name='cityunit',
            name='city_id_foreign_key',
            field=models.IntegerField(null=True),
        ),
        migrations.AddField(
            model_name='cityunit',
            name='city_unit_id_key',
            field=models.IntegerField(null=True),
        ),
        migrations.AddField(
            model_name='province',
            name='province_id_key',
            field=models.IntegerField(null=True),
        ),
        migrations.AddField(
            model_name='systemaddress',
            name='address_id_key',
            field=models.IntegerField(null=True),
        ),
        migrations.AddField(
            model_name='systemaddress',
            name='city_id_foreign_key',
            field=models.IntegerField(null=True),
        ),
        migrations.AddField(
            model_name='systemaddress',
            name='province_id_foreign_key',
            field=models.IntegerField(null=True),
        ),
        migrations.AddField(
            model_name='systemuserprofile',
            name='active',
            field=models.BooleanField(default=True),
        ),
        migrations.AddField(
            model_name='systemuserprofile',
            name='city_id_foreign_key',
            field=models.IntegerField(null=True),
        ),
        migrations.AddField(
            model_name='systemuserprofile',
            name='national_code_image',
            field=models.CharField(max_length=500, null=True),
        ),
        migrations.AddField(
            model_name='systemuserprofile',
            name='province_id_foreign_key',
            field=models.IntegerField(null=True),
        ),
        migrations.AddField(
            model_name='systemuserprofile',
            name='system_user_profile_id_key',
            field=models.IntegerField(null=True),
        ),
        migrations.AddField(
            model_name='systemuserprofile',
            name='user_django_id_foreign_key',
            field=models.IntegerField(null=True),
        ),
        migrations.AlterField(
            model_name='usermessage',
            name='expire',
            field=models.DateTimeField(default=datetime.datetime(2023, 7, 23, 13, 23, 4, 508100)),
        ),
        migrations.AlterField(
            model_name='usermessage',
            name='time',
            field=models.DateTimeField(default=datetime.datetime(2023, 7, 23, 12, 23, 4, 508134)),
        ),
        migrations.AlterField(
            model_name='userprofile',
            name='date_of_register',
            field=models.DateTimeField(default=datetime.datetime(2023, 7, 23, 12, 23, 4, 501660)),
        ),
        migrations.AlterField(
            model_name='userprofile',
            name='hatching_date',
            field=models.DateTimeField(default=datetime.datetime(2023, 7, 23, 12, 23, 4, 501509)),
        ),
        migrations.AlterField(
            model_name='userprofile',
            name='last_party_date',
            field=models.DateTimeField(default=datetime.datetime(2023, 7, 23, 12, 23, 4, 501549)),
        ),
        migrations.CreateModel(
            name='Log',
            fields=[
                ('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('key', models.UUIDField(default=uuid.uuid4, editable=False, null=True, unique=True)),
                ('create_date', models.DateTimeField(auto_now_add=True)),
                ('modify_date', models.DateTimeField(auto_now=True)),
                ('trash', models.BooleanField(default=False)),
                ('function_name', models.CharField(max_length=200, null=True)),
                ('duration', models.FloatField(null=True)),
                ('status', models.IntegerField(null=True)),
                ('response', models.TextField(null=True)),
                ('request', models.TextField(null=True)),
                ('request_body', models.TextField(null=True)),
                ('response_body', models.TextField(null=True)),
                ('created_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='log_createdby', to=settings.AUTH_USER_MODEL)),
                ('modified_by', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, related_name='log_modifiedby', to=settings.AUTH_USER_MODEL)),
                ('user', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, related_name='log_user', to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'abstract': False,
            },
        ),
    ]
