# Generated by Django 1.11.12 on 2018-11-18 13:16

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


class Migration(migrations.Migration):

    dependencies = [
        ('contenttypes', '0002_remove_content_type_name'),
        ('base', '0006_resourcestatus'),
    ]

    operations = [
        migrations.CreateModel(
            name='LoggingParameters',
            fields=[
                (
                    'id',
                    models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'),
                ),
                ('resource_pk', models.PositiveIntegerField()),
                (
                    'log_level',
                    models.CharField(
                        choices=[
                            (b'DEBUG', 'Debug'),
                            (b'INFO', 'Info'),
                            (b'WARNING', 'Warning'),
                            (b'ERROR', 'Error'),
                            (b'CRITICAL', 'Critical'),
                        ],
                        default=b'INFO',
                        max_length=10,
                        verbose_name='Log level',
                    ),
                ),
                (
                    'resource_type',
                    models.ForeignKey(
                        on_delete=django.db.models.deletion.CASCADE, to='contenttypes.ContentType'
                    ),
                ),
            ],
        ),
    ]
