# -*- coding: utf-8 -*-
# Generated by Django 1.9 on 2016-09-08 20:49
from __future__ import unicode_literals

from django.db import migrations, models
import jsonfield.fields


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='RequestLog',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('timestamp', models.DateTimeField(auto_now_add=True)),
                ('method', models.CharField(max_length=10)),
                ('duration_in_seconds', models.IntegerField()),
                ('code', models.IntegerField()),
                ('url', models.CharField(max_length=100)),
                ('full_url', models.CharField(max_length=200)),
                ('ip', models.CharField(max_length=50)),
                ('get_params', jsonfield.fields.JSONField()),
                ('user_agent', models.CharField(blank=True, max_length=200, null=True)),
                ('query_count', models.IntegerField()),
            ],
        ),
    ]
