# -*- coding: utf-8 -*-
# Generated by Django 1.11.3 on 2017-08-14 06:59
from __future__ import unicode_literals

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


class Migration(migrations.Migration):

    dependencies = [
        ('Library', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='Fill',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
            ],
        ),
        migrations.AddField(
            model_name='excel',
            name='excel_headers',
            field=models.TextField(blank=True, verbose_name='表头'),
        ),
        migrations.AlterField(
            model_name='excel',
            name='excel_id',
            field=models.AutoField(primary_key=True, serialize=False),
        ),
        migrations.AlterField(
            model_name='excel',
            name='excel_name',
            field=models.CharField(max_length=100, verbose_name='表名'),
        ),
        migrations.AlterField(
            model_name='initialheaders',
            name='excel_name',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='header_set', to='Library.Excel'),
        ),
        migrations.AlterField(
            model_name='initialheaders',
            name='header_type',
            field=models.CharField(choices=[('select', '选择框'), ('CharField', '文本框'), ('DateField', '日期')], default='CharField', max_length=20, verbose_name='统计项类型'),
        ),
        migrations.AlterField(
            model_name='user',
            name='user_id',
            field=models.CharField(max_length=14, primary_key=True, serialize=False, verbose_name='学号'),
        ),
        migrations.AddField(
            model_name='fill',
            name='excel_id',
            field=models.ManyToManyField(related_name='user_filled', to='Library.Excel'),
        ),
        migrations.AddField(
            model_name='fill',
            name='user_id',
            field=models.ManyToManyField(related_name='excel_filled', to='Library.User'),
        ),
    ]
