# Generated by Django 2.2.12 on 2020-05-11 20:56 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('app_api', '0002_auto_20200322_0929'), ] operations = [ migrations.CreateModel( name='AppUserToken', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('token', models.CharField(max_length=250, unique=True, verbose_name='token值')), ('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], options={ 'verbose_name': 'App用户Token', 'verbose_name_plural': 'App用户Token', }, ), ]