# Generated by Django 2.1.10 on 2019-07-24 14:20

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


class Migration(migrations.Migration):

    dependencies = [
        ('core', '0049_police_abstract'),
    ]

    operations = [
        migrations.CreateModel(
            name='History',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('table_name', models.CharField(editable=False, max_length=255)),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('item_id', models.CharField(editable=False, max_length=255)),
                ('action', models.CharField(choices=[('POST', 'POST'), ('DELETE', 'DELETE'), ('PUT', 'PUT')], editable=False, max_length=7)),
                ('body', models.TextField(default='', editable=False)),
                ('user', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'verbose_name_plural': 'History model',
            },
        ),
    ]
