# Generated by Django 3.0.5 on 2021-04-29 07:49

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


class Migration(migrations.Migration):

    dependencies = [
        ('system', '0016_auto_20210331_1040'),
    ]

    operations = [
        migrations.CreateModel(
            name='UserThird',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('type', models.CharField(choices=[('wx_mp', '微信小程序')], default='wx_mp', max_length=50, verbose_name='类型')),
                ('openid', models.CharField(blank=True, max_length=200, null=True, verbose_name='第三方账号')),
                ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='third_user', to=settings.AUTH_USER_MODEL, verbose_name='关联账户')),
            ],
        ),
    ]
