|
|
|
|
@ -1,9 +1,16 @@
|
|
|
|
|
# Generated by Django 4.1.7 on 2023-03-02 07:14
|
|
|
|
|
|
|
|
|
|
#hz代码注释
|
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
"""
|
|
|
|
|
Django数据库迁移类,用于创建初始数据表结构
|
|
|
|
|
|
|
|
|
|
该迁移文件包含两个模型的创建操作:
|
|
|
|
|
1. commands模型 - 用于存储命令信息
|
|
|
|
|
2. EmailSendLog模型 - 用于记录邮件发送日志
|
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
initial = True
|
|
|
|
|
|
|
|
|
|
@ -11,6 +18,7 @@ class Migration(migrations.Migration):
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
|
# 创建commands数据表,用于存储命令相关信息
|
|
|
|
|
migrations.CreateModel(
|
|
|
|
|
name='commands',
|
|
|
|
|
fields=[
|
|
|
|
|
@ -26,6 +34,7 @@ class Migration(migrations.Migration):
|
|
|
|
|
'verbose_name_plural': '命令',
|
|
|
|
|
},
|
|
|
|
|
),
|
|
|
|
|
# 创建EmailSendLog数据表,用于记录邮件发送日志信息
|
|
|
|
|
migrations.CreateModel(
|
|
|
|
|
name='EmailSendLog',
|
|
|
|
|
fields=[
|
|
|
|
|
@ -43,3 +52,4 @@ class Migration(migrations.Migration):
|
|
|
|
|
},
|
|
|
|
|
),
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
|