# Generated by Django 3.2 on 2021-07-17 20:05 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Log', fields=[ ('id', models.CharField(default='TestLaboratory_V1_Log_1', max_length=50, primary_key=True, serialize=False, verbose_name='日志id')), ('action', models.CharField(max_length=100, verbose_name='操作名称')), ('entity_class', models.CharField(max_length=50, verbose_name='实体类型')), ('entity_name', models.CharField(max_length=50, null=True, verbose_name='实体名称')), ('method', models.CharField(max_length=30, verbose_name='操作方法')), ('executor_id', models.CharField(max_length=50, verbose_name='操作者id')), ('executor_username', models.CharField(max_length=50, verbose_name='操作者名称')), ('executor_identify', models.IntegerField(verbose_name='操作者身份')), ('create_time', models.DateTimeField(auto_now_add=True, verbose_name='创建时间')), ('update_time', models.DateTimeField(auto_now=True, verbose_name='修改时间')), ('delete', models.BooleanField(default=False)), ], options={ 'verbose_name': '日志', 'verbose_name_plural': '日志', 'db_table': 'log', }, ), ]