text: # -*- coding: utf-8 -*-
  # Generated by Django 1.11.11 on 2019-04-23 13:53
  from __future__ import unicode_literals
  
  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='OAuthQQUser',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('create_time', models.DateTimeField(auto_now_add=True, verbose_name='创建时间')),
                  ('update_time', models.DateTimeField(auto_now=True, verbose_name='更新时间')),
                  ('openid', models.CharField(db_index=True, max_length=64, verbose_name='openid')),
                  ('user', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL, verbose_name='用户')),
              ],
              options={
                  'verbose_name': 'QQ登陆用户数据',
                  'verbose_name_plural': 'QQ登陆用户数据',
                  'db_table': 'tb_oauth_qq',
              },
          ),
      ]
  