# Generated by Django 2.0.6 on 2018-07-24 17:14

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

import procu.soft_delete.models


class Migration(migrations.Migration):

    dependencies = [('api', '0011_enquiry_state')]

    operations = [
        migrations.CreateModel(
            name='EnquiryLog',
            fields=[
                (
                    'id',
                    models.AutoField(
                        auto_created=True,
                        primary_key=True,
                        serialize=False,
                        verbose_name='ID',
                    ),
                ),
                ('status', models.IntegerField()),
                ('reason', models.IntegerField()),
                ('state', models.IntegerField()),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                (
                    'enquiry',
                    procu.soft_delete.models.ForeignKey(
                        on_delete=django.db.models.deletion.PROTECT,
                        to='api.Enquiry',
                    ),
                ),
            ],
        )
    ]
