# -*- coding: utf-8 -*-
# Generated by Django 1.10 on 2016-11-08 14:58
from __future__ import unicode_literals

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


class Migration(migrations.Migration):

    dependencies = [
        ('iconolab', '0013_auto_20160923_1404'),
    ]

    operations = [
        migrations.CreateModel(
            name='MetaCategoriesCountInfo',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('count', models.IntegerField(default=1)),
                ('annotation_stats_obj', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='iconolab.AnnotationStats')),
                ('metacategory', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='iconolab.MetaCategory')),
            ],
        ),
        migrations.AddField(
            model_name='annotationstats',
            name='metacategories',
            field=models.ManyToManyField(through='iconolab.MetaCategoriesCountInfo', to='iconolab.MetaCategory'),
        ),
    ]
