# -*- coding: utf-8 -*-
# Generated by Django 1.11.1 on 2018-02-26 11:25
from __future__ import unicode_literals

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


class Migration(migrations.Migration):

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
        ('tarifa', '0002_auto_20180221_1045'),
    ]

    operations = [
        migrations.CreateModel(
            name='LogTarifa',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('fecha', models.DateTimeField(auto_now_add=True)),
                ('modelo', models.CharField(choices=[('te', 'Temporada'), ('tf', 'TemporadaFecha'), ('ta', 'Tarifa')], max_length=4)),
                ('modelo_id', models.PositiveIntegerField()),
                ('_info', models.TextField(default='{}')),
                ('user', models.ForeignKey(on_delete=django.db.models.deletion.DO_NOTHING, to=settings.AUTH_USER_MODEL)),
            ],
        ),
        migrations.AddField(
            model_name='tarifa',
            name='_valores',
            field=models.TextField(default='{}'),
        ),
        migrations.AlterUniqueTogether(
            name='temporadafecha',
            unique_together=set([('fecha',)]),
        ),
    ]
