|
# -*- coding: utf-8 -*-
# Generated by Django 1.11.3 on 2017-12-30 13:37
from __future__ import unicode_literals
from django.db import migrations, models
import shortuuidfield.fields
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.CreateModel(
name='BrandInfo',
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', shortuuidfield.fields.ShortUUIDField(blank=True, db_index=True, editable=False, help_text='\u54c1\u724c\u552f\u4e00\u6807\u8bc6', max_length=22, unique=True)),
('brand_name', models.CharField(blank=True, help_text='\u54c1\u724c\u540d\u79f0', max_length=255, null=True, verbose_name='brand_name')),
('brand_descr', models.TextField(blank=True, help_text='\u54c1\u724c\u63cf\u8ff0', max_length=255, null=True, verbose_name='brand_descr')),
('position', models.IntegerField(default=1, help_text='\u6392\u5e8f', verbose_name='position')),
],
options={
'verbose_name': '\u54c1\u724c\u4fe1\u606f',
'verbose_name_plural': '\u54c1\u724c\u4fe1\u606f',
},
),
migrations.CreateModel(
name='DistributorInfo',
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')),
('distributor_id', shortuuidfield.fields.ShortUUIDField(blank=True, db_index=True, editable=False, help_text='\u7ecf\u9500\u5546\u552f\u4e00\u6807\u8bc6', max_length=22, unique=True)),
('distributor_name', models.CharField(blank=True, help_text='\u7ecf\u9500\u5546\u540d\u79f0', max_length=255, null=True, verbose_name='distributor_name')),
('distributor_descr', models.TextField(blank=True, help_text='\u7ecf\u9500\u5546\u63cf\u8ff0', max_length=255, null=True, verbose_name='distributor_descr')),
('position', models.IntegerField(default=1, help_text='\u6392\u5e8f', verbose_name='position')),
],
options={
'verbose_name': '\u7ecf\u9500\u5546\u4fe1\u606f',
'verbose_name_plural': '\u7ecf\u9500\u5546\u4fe1\u606f',
},
),
migrations.CreateModel(
name='ModelInfo',
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', shortuuidfield.fields.ShortUUIDField(blank=True, db_index=True, editable=False, help_text='\u578b\u53f7\u552f\u4e00\u6807\u8bc6', max_length=22, unique=True)),
('model_name', models.CharField(blank=True, help_text='\u578b\u53f7\u540d\u79f0', max_length=255, null=True, verbose_name='model_name')),
('model_descr', models.TextField(blank=True, help_text='\u578b\u53f7\u63cf\u8ff0', max_length=255, null=True, verbose_name='model_descr')),
('position', models.IntegerField(default=1, help_text='\u6392\u5e8f', verbose_name='position')),
],
options={
'verbose_name': '\u578b\u53f7\u4fe1\u606f',
'verbose_name_plural': '\u578b\u53f7\u4fe1\u606f',
},
),
]
|