|
# -*- coding: utf-8 -*-
# Generated by Django 1.11.11 on 2018-05-08 10:30
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('statistic', '0005_auto_20180508_1057'),
]
operations = [
migrations.CreateModel(
name='ConsumeDistributorSaleStatisticInfo',
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')),
('brand_id', models.CharField(blank=True, db_index=True, help_text='\u54c1\u724c\u552f\u4e00\u6807\u8bc6', max_length=32, null=True, verbose_name='brand_id')),
('distributor_id', models.CharField(db_index=True, help_text='\u7ecf\u9500\u5546\u552f\u4e00\u6807\u8bc6', max_length=32, verbose_name='distributor_id')),
('distributor_name', models.CharField(blank=True, help_text='\u7ecf\u9500\u5546\u540d\u79f0', max_length=255, null=True, verbose_name='distributor_name')),
('ymd', models.IntegerField(db_index=True, default=0, help_text='\u5e74\u6708\u65e5', verbose_name='ymd')),
('num', models.IntegerField(default=0, help_text='\u6570\u91cf', verbose_name='num')),
],
options={
'verbose_name': '\u7ecf\u9500\u5546\u9500\u91cf\u7edf\u8ba1',
'verbose_name_plural': '\u7ecf\u9500\u5546\u9500\u91cf\u7edf\u8ba1',
},
),
migrations.CreateModel(
name='ConsumeModelSaleStatisticInfo',
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')),
('brand_id', models.CharField(blank=True, db_index=True, help_text='\u54c1\u724c\u552f\u4e00\u6807\u8bc6', max_length=32, null=True, verbose_name='brand_id')),
('model_id', models.CharField(db_index=True, help_text='\u578b\u53f7\u552f\u4e00\u6807\u8bc6', max_length=32, verbose_name='model_id')),
('model_name', models.CharField(blank=True, help_text='\u578b\u53f7\u540d\u79f0', max_length=255, null=True, verbose_name='model_name')),
('ymd', models.IntegerField(db_index=True, default=0, help_text='\u5e74\u6708\u65e5', verbose_name='ymd')),
('num', models.IntegerField(default=0, help_text='\u6570\u91cf', verbose_name='num')),
],
options={
'verbose_name': '\u578b\u53f7\u9500\u91cf\u7edf\u8ba1',
'verbose_name_plural': '\u578b\u53f7\u9500\u91cf\u7edf\u8ba1',
},
),
migrations.CreateModel(
name='ConsumeProvinceSaleStatisticInfo',
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')),
('brand_id', models.CharField(blank=True, db_index=True, help_text='\u54c1\u724c\u552f\u4e00\u6807\u8bc6', max_length=32, null=True, verbose_name='brand_id')),
('province_code', models.CharField(db_index=True, help_text='\u7701\u4efd\u7f16\u7801', max_length=6, verbose_name='province_code')),
('province_name', models.CharField(blank=True, help_text='\u7701\u4efd\u540d\u79f0', max_length=3, null=True, verbose_name='province_name')),
('ymd', models.IntegerField(db_index=True, default=0, help_text='\u5e74\u6708\u65e5', verbose_name='ymd')),
('num', models.IntegerField(default=0, help_text='\u6570\u91cf', verbose_name='num')),
('position', models.IntegerField(default=1, help_text='\u6392\u5e8f', verbose_name='position')),
],
options={
'verbose_name': '\u7701\u4efd\u9500\u91cf\u7edf\u8ba1',
'verbose_name_plural': '\u7701\u4efd\u9500\u91cf\u7edf\u8ba1',
},
),
migrations.CreateModel(
name='ConsumeSaleStatisticInfo',
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')),
('brand_id', models.CharField(blank=True, db_index=True, help_text='\u54c1\u724c\u552f\u4e00\u6807\u8bc6', max_length=32, null=True, verbose_name='brand_id')),
('ymd', models.IntegerField(db_index=True, default=0, help_text='\u5e74\u6708\u65e5', verbose_name='ymd')),
('num', models.IntegerField(default=0, help_text='\u6570\u91cf', verbose_name='num')),
],
options={
'verbose_name': '\u9500\u91cf\u7edf\u8ba1',
'verbose_name_plural': '\u9500\u91cf\u7edf\u8ba1',
},
),
migrations.AddField(
model_name='distributorsalestatisticinfo',
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='modelsalestatisticinfo',
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='provincesalestatisticinfo',
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='registerstatisticinfo',
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='salestatisticinfo',
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'),
),
]
|