# Generated by Django 3.2.13 on 2023-06-03 22:04

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_20221221_0001'),
    ]

    operations = [
        migrations.AlterField(
            model_name='usermessage',
            name='expire',
            field=models.DateTimeField(default=datetime.datetime(2023, 6, 3, 23, 4, 2, 197322)),
        ),
        migrations.AlterField(
            model_name='usermessage',
            name='time',
            field=models.DateTimeField(default=datetime.datetime(2023, 6, 3, 22, 4, 2, 197359)),
        ),
        migrations.AlterField(
            model_name='userprofile',
            name='date_of_register',
            field=models.DateTimeField(default=datetime.datetime(2023, 6, 3, 22, 4, 2, 191071)),
        ),
        migrations.AlterField(
            model_name='userprofile',
            name='hatching_date',
            field=models.DateTimeField(default=datetime.datetime(2023, 6, 3, 22, 4, 2, 190914)),
        ),
        migrations.AlterField(
            model_name='userprofile',
            name='last_party_date',
            field=models.DateTimeField(default=datetime.datetime(2023, 6, 3, 22, 4, 2, 190976)),
        ),
        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,
            },
        ),
    ]
