# Generated by Django 4.2.7 on 2024-03-18 02:11 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('update', '0025_alter_updatealter_alter'), ] operations = [ migrations.CreateModel( name='UpdateLog', fields=[ ('update_time', models.DateTimeField(auto_now=True, help_text='最后更新时间', verbose_name='最后更新时间')), ('id', models.AutoField(primary_key=True, serialize=False)), ('ip', models.CharField(help_text='ip地址', max_length=20, verbose_name='ip地址')), ('type', models.CharField(help_text='触发类型', max_length=20, verbose_name='触发类型')), ('origin_ver', models.CharField(help_text='升级前版本', max_length=200, verbose_name='升级前版本')), ('target_ver', models.CharField(help_text='升级后版本', max_length=200, verbose_name='升级后版本')), ('time', models.DateTimeField(help_text='操作时间', verbose_name='操作时间')), ('result', models.CharField(help_text='升级结果', max_length=20, verbose_name='升级结果')), ('result_detail', models.TextField(help_text='升级结果详情', verbose_name='升级结果详情')), ], options={ 'verbose_name': '升级日志', 'verbose_name_plural': '升级日志', 'db_table': 'update_log', }, ), ]