# Generated by Django 3.1.4 on 2022-06-07 16:50

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


class Migration(migrations.Migration):

    dependencies = [
        ('company', '0293_auto_20220601_1007'),
    ]

    operations = [
        migrations.CreateModel(
            name='UserWechatOpenids',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('wx_account_id', models.IntegerField(blank=True, null=True, verbose_name='所属微信公众号')),
                ('openid', models.CharField(blank=True, max_length=50, null=True, verbose_name='openid')),
                ('tm', models.DateTimeField(auto_now_add=True, verbose_name='时间')),
                ('company', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='company.company', verbose_name='所属企业')),
                ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL, verbose_name='用户帐号')),
            ],
            options={
                'verbose_name': '用户微信绑定表',
                'verbose_name_plural': '用户微信绑定表',
            },
        ),
    ]
