# -*- coding: utf-8 -*-
# Generated by Django 1.11.3 on 2017-07-25 12:34
from __future__ import unicode_literals

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


class Migration(migrations.Migration):

    dependencies = [
        ('report', '0003_auto_20170722_1230'),
    ]

    operations = [
        migrations.CreateModel(
            name='ReportPeriod',
            fields=[
                ('id', models.UUIDField(default=uuid.uuid4, editable=False, primary_key=True, serialize=False)),
                ('name', models.CharField(help_text='Name', max_length=40)),
                ('start', models.DateField(help_text='Start date')),
                ('end', models.DateField(help_text='End dat')),
            ],
            options={
                'verbose_name': 'Report Period',
                'verbose_name_plural': 'Report Periods',
            },
        ),
        migrations.AddField(
            model_name='reportupload',
            name='period',
            field=models.ForeignKey(help_text='Period', null=True, on_delete=django.db.models.deletion.CASCADE, to='report.ReportPeriod'),
        ),
    ]
