# Generated by Django 3.0.8 on 2020-08-03 06:06 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), ('routes', '0002_auto_20200803_1041'), ] operations = [ migrations.CreateModel( name='Route2User', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('route', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='routes.Route')), ('user', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)), ], options={ 'verbose_name': '用户对应路由关联表', 'verbose_name_plural': '用户对应路由关联表', 'db_table': 'Route2User', }, ), ]