# Generated by Django 2.1.1 on 2018-10-17 01:10

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('course', '0001_initial'),
        ('shop', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='AddCourse',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('course', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='course.Course')),
            ],
        ),
        migrations.CreateModel(
            name='AddGood',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('good', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='shop.Goods')),
            ],
        ),
        migrations.CreateModel(
            name='Address',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('province', models.CharField(max_length=50, null=True)),
                ('city', models.CharField(max_length=50, null=True)),
                ('area', models.CharField(max_length=50, null=True)),
                ('detailaddress', models.CharField(max_length=50, null=True)),
            ],
        ),
        migrations.CreateModel(
            name='Icon',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('icon_url', models.CharField(max_length=254)),
            ],
        ),
        migrations.CreateModel(
            name='Intergral',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('intergral', models.CharField(max_length=50)),
            ],
        ),
        migrations.CreateModel(
            name='Sex',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=50)),
            ],
        ),
        migrations.CreateModel(
            name='User',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('telephone', models.CharField(max_length=50, unique=True)),
                ('password', models.CharField(max_length=255)),
                ('regist_time', models.DateTimeField(auto_now_add=True)),
            ],
        ),
        migrations.CreateModel(
            name='UserInfo',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=50)),
                ('height', models.CharField(max_length=50)),
                ('width', models.CharField(max_length=50)),
                ('birth', models.DateField()),
                ('note1', models.CharField(max_length=50, null=True)),
                ('note2', models.CharField(max_length=50, null=True)),
                ('icon', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='user.Icon')),
                ('sex', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='user.Sex')),
            ],
        ),
        migrations.AddField(
            model_name='intergral',
            name='user',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='user.User'),
        ),
        migrations.AddField(
            model_name='address',
            name='user',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='user.User'),
        ),
        migrations.AddField(
            model_name='addgood',
            name='user',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='user.User'),
        ),
        migrations.AddField(
            model_name='addcourse',
            name='user',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='user.User'),
        ),
    ]

3e04f3ffa056a5deee860d837706b2bebfdc89fe
<mask token>

<mask token>


class Migration(migrations.Migration):
    <mask token>
    <mask token>
    <mask token>

<mask token>


class Migration(migrations.Migration):
    initial = True
    dependencies = [('course', '0001_initial'), ('shop', '0001_initial')]
    operations = [migrations.CreateModel(name='AddCourse', fields=[('id',
        models.AutoField(auto_created=True, primary_key=True, serialize=
        False, verbose_name='ID')), ('course', models.ForeignKey(on_delete=
        django.db.models.deletion.CASCADE, to='course.Course'))]),
        migrations.CreateModel(name='AddGood', fields=[('id', models.
        AutoField(auto_created=True, primary_key=True, serialize=False,
        verbose_name='ID')), ('good', models.ForeignKey(on_delete=django.db
        .models.deletion.CASCADE, to='shop.Goods'))]), migrations.
        CreateModel(name='Address', fields=[('id', models.AutoField(
        auto_created=True, primary_key=True, serialize=False, verbose_name=
        'ID')), ('province', models.CharField(max_length=50, null=True)), (
        'city', models.CharField(max_length=50, null=True)), ('area',
        models.CharField(max_length=50, null=True)), ('detailaddress',
        models.CharField(max_length=50, null=True))]), migrations.
        CreateModel(name='Icon', fields=[('id', models.AutoField(
        auto_created=True, primary_key=True, serialize=False, verbose_name=
        'ID')), ('icon_url', models.CharField(max_length=254))]),
        migrations.CreateModel(name='Intergral', fields=[('id', models.
        AutoField(auto_created=True, primary_key=True, serialize=False,
        verbose_name='ID')), ('intergral', models.CharField(max_length=50))
        ]), migrations.CreateModel(name='Sex', fields=[('id', models.
        AutoField(auto_created=True, primary_key=True, serialize=False,
        verbose_name='ID')), ('name', models.CharField(max_length=50))]),
        migrations.CreateModel(name='User', fields=[('id', models.AutoField
        (auto_created=True, primary_key=True, serialize=False, verbose_name
        ='ID')), ('telephone', models.CharField(max_length=50, unique=True)
        ), ('password', models.CharField(max_length=255)), ('regist_time',
        models.DateTimeField(auto_now_add=True))]), migrations.CreateModel(
        name='UserInfo', fields=[('id', models.AutoField(auto_created=True,
        primary_key=True, serialize=False, verbose_name='ID')), ('name',
        models.CharField(max_length=50)), ('height', models.CharField(
        max_length=50)), ('width', models.CharField(max_length=50)), (
        'birth', models.DateField()), ('note1', models.CharField(max_length
        =50, null=True)), ('note2', models.CharField(max_length=50, null=
        True)), ('icon', models.ForeignKey(on_delete=django.db.models.
        deletion.CASCADE, to='user.Icon')), ('sex', models.ForeignKey(
        on_delete=django.db.models.deletion.CASCADE, to='user.Sex'))]),
        migrations.AddField(model_name='intergral', name='user', field=
        models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=
        'user.User')), migrations.AddField(model_name='address', name=
        'user', field=models.ForeignKey(on_delete=django.db.models.deletion
        .CASCADE, to='user.User')), migrations.AddField(model_name=
        'addgood', name='user', field=models.ForeignKey(on_delete=django.db
        .models.deletion.CASCADE, to='user.User')), migrations.AddField(
        model_name='addcourse', name='user', field=models.ForeignKey(
        on_delete=django.db.models.deletion.CASCADE, to='user.User'))]

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


class Migration(migrations.Migration):
    initial = True
    dependencies = [('course', '0001_initial'), ('shop', '0001_initial')]
    operations = [migrations.CreateModel(name='AddCourse', fields=[('id',
        models.AutoField(auto_created=True, primary_key=True, serialize=
        False, verbose_name='ID')), ('course', models.ForeignKey(on_delete=
        django.db.models.deletion.CASCADE, to='course.Course'))]),
        migrations.CreateModel(name='AddGood', fields=[('id', models.
        AutoField(auto_created=True, primary_key=True, serialize=False,
        verbose_name='ID')), ('good', models.ForeignKey(on_delete=django.db
        .models.deletion.CASCADE, to='shop.Goods'))]), migrations.
        CreateModel(name='Address', fields=[('id', models.AutoField(
        auto_created=True, primary_key=True, serialize=False, verbose_name=
        'ID')), ('province', models.CharField(max_length=50, null=True)), (
        'city', models.CharField(max_length=50, null=True)), ('area',
        models.CharField(max_length=50, null=True)), ('detailaddress',
        models.CharField(max_length=50, null=True))]), migrations.
        CreateModel(name='Icon', fields=[('id', models.AutoField(
        auto_created=True, primary_key=True, serialize=False, verbose_name=
        'ID')), ('icon_url', models.CharField(max_length=254))]),
        migrations.CreateModel(name='Intergral', fields=[('id', models.
        AutoField(auto_created=True, primary_key=True, serialize=False,
        verbose_name='ID')), ('intergral', models.CharField(max_length=50))
        ]), migrations.CreateModel(name='Sex', fields=[('id', models.
        AutoField(auto_created=True, primary_key=True, serialize=False,
        verbose_name='ID')), ('name', models.CharField(max_length=50))]),
        migrations.CreateModel(name='User', fields=[('id', models.AutoField
        (auto_created=True, primary_key=True, serialize=False, verbose_name
        ='ID')), ('telephone', models.CharField(max_length=50, unique=True)
        ), ('password', models.CharField(max_length=255)), ('regist_time',
        models.DateTimeField(auto_now_add=True))]), migrations.CreateModel(
        name='UserInfo', fields=[('id', models.AutoField(auto_created=True,
        primary_key=True, serialize=False, verbose_name='ID')), ('name',
        models.CharField(max_length=50)), ('height', models.CharField(
        max_length=50)), ('width', models.CharField(max_length=50)), (
        'birth', models.DateField()), ('note1', models.CharField(max_length
        =50, null=True)), ('note2', models.CharField(max_length=50, null=
        True)), ('icon', models.ForeignKey(on_delete=django.db.models.
        deletion.CASCADE, to='user.Icon')), ('sex', models.ForeignKey(
        on_delete=django.db.models.deletion.CASCADE, to='user.Sex'))]),
        migrations.AddField(model_name='intergral', name='user', field=
        models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=
        'user.User')), migrations.AddField(model_name='address', name=
        'user', field=models.ForeignKey(on_delete=django.db.models.deletion
        .CASCADE, to='user.User')), migrations.AddField(model_name=
        'addgood', name='user', field=models.ForeignKey(on_delete=django.db
        .models.deletion.CASCADE, to='user.User')), migrations.AddField(
        model_name='addcourse', name='user', field=models.ForeignKey(
        on_delete=django.db.models.deletion.CASCADE, to='user.User'))]

# Generated by Django 2.1.1 on 2018-10-17 01:10

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        ('course', '0001_initial'),
        ('shop', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='AddCourse',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('course', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='course.Course')),
            ],
        ),
        migrations.CreateModel(
            name='AddGood',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('good', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='shop.Goods')),
            ],
        ),
        migrations.CreateModel(
            name='Address',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('province', models.CharField(max_length=50, null=True)),
                ('city', models.CharField(max_length=50, null=True)),
                ('area', models.CharField(max_length=50, null=True)),
                ('detailaddress', models.CharField(max_length=50, null=True)),
            ],
        ),
        migrations.CreateModel(
            name='Icon',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('icon_url', models.CharField(max_length=254)),
            ],
        ),
        migrations.CreateModel(
            name='Intergral',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('intergral', models.CharField(max_length=50)),
            ],
        ),
        migrations.CreateModel(
            name='Sex',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=50)),
            ],
        ),
        migrations.CreateModel(
            name='User',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('telephone', models.CharField(max_length=50, unique=True)),
                ('password', models.CharField(max_length=255)),
                ('regist_time', models.DateTimeField(auto_now_add=True)),
            ],
        ),
        migrations.CreateModel(
            name='UserInfo',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('name', models.CharField(max_length=50)),
                ('height', models.CharField(max_length=50)),
                ('width', models.CharField(max_length=50)),
                ('birth', models.DateField()),
                ('note1', models.CharField(max_length=50, null=True)),
                ('note2', models.CharField(max_length=50, null=True)),
                ('icon', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='user.Icon')),
                ('sex', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='user.Sex')),
            ],
        ),
        migrations.AddField(
            model_name='intergral',
            name='user',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='user.User'),
        ),
        migrations.AddField(
            model_name='address',
            name='user',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='user.User'),
        ),
        migrations.AddField(
            model_name='addgood',
            name='user',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='user.User'),
        ),
        migrations.AddField(
            model_name='addcourse',
            name='user',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='user.User'),
        ),
    ]
