# Generated by Django 2.0.7 on 2018-09-12 11:55

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


class Migration(migrations.Migration):

    initial = True

    dependencies = [
        migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    ]

    operations = [
        migrations.CreateModel(
            name='WxUser',
            fields=[
                ('openid', models.CharField(max_length=100, primary_key=True, serialize=False, verbose_name='微信小程序内的id')),
                ('name', models.CharField(blank=True, max_length=100, null=True, verbose_name='微信用户名')),
                ('login', models.BooleanField(verbose_name='登陆状态')),
                ('session', models.CharField(blank=True, max_length=50, null=True, verbose_name='Sessionkey')),
                ('other', models.CharField(blank=True, max_length=250, null=True, verbose_name='其他信息')),
                ('createtime', models.DateTimeField(auto_now=True)),
                ('owner', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
            ],
            options={
                'verbose_name': '用户基础信息',
                'verbose_name_plural': '用户基础信息',
                'managed': True,
            },
        ),
    ]
