perf: Migrate (#13689)

Co-authored-by: feng <1304903146@qq.com>
v3.10.12-lts
fit2bot 2024-07-11 10:35:01 +08:00 committed by GitHub
parent 1faeb54673
commit b82f007787
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 7 additions and 5 deletions

View File

@ -1,10 +1,12 @@
# Generated by Django 3.2.16 on 2022-12-30 08:08
import common.db.fields
from django.db import migrations, models
import django.db.models.deletion
import uuid
import django.db.models.deletion
from django.db import migrations, models
import common.db.fields
class Migration(migrations.Migration):
@ -53,7 +55,7 @@ class Migration(migrations.Migration):
],
options={
'verbose_name': 'Automation task execution',
'ordering': ('-date_start',),
'ordering': ('org_id', '-date_start',),
},
),
migrations.CreateModel(

View File

@ -19,7 +19,7 @@ class Migration(migrations.Migration):
migrations.AlterField(
model_name='operatelog',
name='action',
field=models.CharField(choices=[('view', 'View'), ('update', 'Update'), ('delete', 'Delete'), ('create', 'Create'), ('download', 'Download'), ('connect', 'Connect'), ('login', 'Login'), ('change_password', 'Change password'), ('accept', 'Accept'), ('review', 'Review'), ('notice', 'Notifications'), ('reject', 'Reject'), ('approve', 'Approve'), ('close', 'Close')], max_length=16, verbose_name='Action'),
field=models.CharField(choices=[('view', 'View'), ('update', 'Update'), ('delete', 'Delete'), ('create', 'Create'), ('download', 'Download'), ('connect', 'Connect'), ('login', 'Login'), ('change_password', 'Change password'), ('accept', 'Accept'), ('review', 'Review'), ('notice', 'Notifications'), ('reject', 'Reject'), ('approve', 'Approve'), ('close', 'Close'), ('finished', 'Finished')], max_length=16, verbose_name='Action'),
),
migrations.AlterField(
model_name='userloginlog',