text: # -*- coding: utf-8 -*-
  # Generated by Django 1.11.1 on 2018-10-16 07:26
  from __future__ import unicode_literals
  
  from django.db import migrations, models
  import django.db.models.deletion
  
  
  class Migration(migrations.Migration):
  
      dependencies = [
          ('my_site', '0005_auto_20181016_0925'),
      ]
  
      operations = [
          migrations.CreateModel(
              name='Goods',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('name', models.CharField(max_length=32, verbose_name='商品名称')),
              ],
              options={
                  'verbose_name': '商品信息',
                  'verbose_name_plural': '商品信息',
              },
          ),
          migrations.CreateModel(
              name='GoodsCategory',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('name', models.CharField(max_length=32, verbose_name='商品类别')),
              ],
              options={
                  'verbose_name': '商品类别',
                  'verbose_name_plural': '商品类别',
              },
          ),
          migrations.AlterModelOptions(
              name='userinfo',
              options={'verbose_name': '用户信息', 'verbose_name_plural': '用户信息'},
          ),
          migrations.AddField(
              model_name='goods',
              name='catagory',
              field=models.ForeignKey(max_length=32, on_delete=django.db.models.deletion.CASCADE, to='my_site.GoodsCategory', verbose_name='商品类别'),
          ),
      ]
  