# -*- coding: utf-8 -*-
# Generated by Django 1.11.3 on 2018-01-03 20:14
from __future__ import unicode_literals

from django.db import migrations, models
import django_models_ext.fileext


class Migration(migrations.Migration):

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

    operations = [
        migrations.CreateModel(
            name='ModelImageInfo',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('status', models.BooleanField(db_index=True, default=True, help_text='Status', verbose_name='status')),
                ('created_at', models.DateTimeField(auto_now_add=True, help_text='Create Time', verbose_name='created_at')),
                ('updated_at', models.DateTimeField(auto_now=True, help_text='Update Time', verbose_name='updated_at')),
                ('model_id', models.CharField(blank=True, db_index=True, help_text='\u578b\u53f7\u552f\u4e00\u6807\u8bc6', max_length=32, null=True, verbose_name='model_id')),
                ('image', models.ImageField(blank=True, help_text='\u56fe\u7247', null=True, upload_to=django_models_ext.fileext.upload_path, verbose_name='image')),
                ('url', models.TextField(blank=True, help_text='\u94fe\u63a5', max_length=255, null=True, verbose_name='url')),
                ('position', models.IntegerField(default=1, help_text='\u6392\u5e8f', verbose_name='position')),
            ],
            options={
                'verbose_name': '\u578b\u53f7\u56fe\u7247\u4fe1\u606f',
                'verbose_name_plural': '\u578b\u53f7\u56fe\u7247\u4fe1\u606f',
            },
        ),
        migrations.AddField(
            model_name='brandinfo',
            name='brand_logo',
            field=models.ImageField(blank=True, help_text='\u54c1\u724c\u5546\u6807', null=True, upload_to=django_models_ext.fileext.upload_path, verbose_name='brand_logo'),
        ),
        migrations.AddField(
            model_name='distributorinfo',
            name='brand_id',
            field=models.CharField(blank=True, db_index=True, help_text='\u54c1\u724c\u552f\u4e00\u6807\u8bc6', max_length=32, null=True, verbose_name='brand_id'),
        ),
        migrations.AddField(
            model_name='modelinfo',
            name='brand_id',
            field=models.CharField(blank=True, db_index=True, help_text='\u54c1\u724c\u552f\u4e00\u6807\u8bc6', max_length=32, null=True, verbose_name='brand_id'),
        ),
    ]
