# Generated by Django 2.2.16 on 2020-12-24 00:31

import uuid

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

import eox_audit_model.constants
import eox_audit_model.models


class Migration(migrations.Migration):

    dependencies = [
        ('eox_audit_model', '0002_auditnote'),
    ]

    operations = [
        migrations.AlterField(
            model_name='auditmodel',
            name='key',
            field=models.UUIDField(default=uuid.uuid4, editable=False, unique=True, verbose_name='Public identifier'),
        ),
        migrations.AlterField(
            model_name='auditmodel',
            name='site',
            field=models.ForeignKey(default=eox_audit_model.models.get_current_site, null=True, on_delete=django.db.models.deletion.SET_NULL, to='sites.Site'),
        ),
        migrations.AlterField(
            model_name='auditmodel',
            name='status',
            field=models.PositiveIntegerField(choices=[(1, 'SUCCESS'), (0, 'FAIL')], default=eox_audit_model.constants.Status(1)),
        ),
    ]
