# -*- coding: utf-8 -*-
# Generated by Django 1.9 on 2015-12-11 18:13
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='AnimeSeries',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('mal_id', models.IntegerField(unique=True)),
                ('image_url', models.CharField(max_length=255, null=True)),
                ('title', models.CharField(max_length=255, null=True)),
                ('last_updated', models.DateTimeField(auto_now=True)),
                ('last_figure_calc', models.DateTimeField(null=True)),
            ],
        ),
        migrations.CreateModel(
            name='Figure',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('mfc_id', models.IntegerField(unique=True)),
                ('barcode', models.CharField(max_length=16, null=True)),
                ('name', models.CharField(max_length=255)),
                ('release_date', models.DateTimeField(db_index=True, null=True)),
                ('price', models.IntegerField(null=True)),
                ('category', models.IntegerField(null=True)),
                ('last_updated', models.DateTimeField(auto_now=True)),
            ],
        ),
        migrations.AddField(
            model_name='animeseries',
            name='figures',
            field=models.ManyToManyField(to='anime.Figure'),
        ),
    ]

# -*- coding: utf-8 -*-
# Generated by Django 1.9 on 2015-12-11 18:13
from __future__ import unicode_literals

from django.db import migrations, models


class Migration(migrations.Migration):

    initial = True

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='AnimeSeries',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('mal_id', models.IntegerField(unique=True)),
                ('image_url', models.CharField(max_length=255, null=True)),
                ('title', models.CharField(max_length=255, null=True)),
                ('last_updated', models.DateTimeField(auto_now=True)),
                ('last_figure_calc', models.DateTimeField(null=True)),
            ],
        ),
        migrations.CreateModel(
            name='Figure',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('mfc_id', models.IntegerField(unique=True)),
                ('barcode', models.CharField(max_length=16, null=True)),
                ('name', models.CharField(max_length=255)),
                ('release_date', models.DateTimeField(db_index=True, null=True)),
                ('price', models.IntegerField(null=True)),
                ('category', models.IntegerField(null=True)),
                ('last_updated', models.DateTimeField(auto_now=True)),
            ],
        ),
        migrations.AddField(
            model_name='animeseries',
            name='figures',
            field=models.ManyToManyField(to='anime.Figure'),
        ),
    ]

# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2015-12-11 18:13