mirror of https://github.com/jumpserver/jumpserver
perf: 优化表结构迁移
parent
09bdff4a67
commit
d7e7c62c7a
|
@ -29,11 +29,6 @@ def migrate_default_org_id(apps, schema_editor):
|
||||||
('terminal', ['Session', 'Command']),
|
('terminal', ['Session', 'Command']),
|
||||||
('tickets', ['Ticket']),
|
('tickets', ['Ticket']),
|
||||||
('users', ['UserGroup']),
|
('users', ['UserGroup']),
|
||||||
('xpack', [
|
|
||||||
'Account', 'SyncInstanceDetail', 'SyncInstanceTask', 'SyncInstanceTaskExecution',
|
|
||||||
'ChangeAuthPlan', 'ChangeAuthPlanExecution', 'ChangeAuthPlanTask',
|
|
||||||
'GatherUserTask', 'GatherUserTaskExecution',
|
|
||||||
]),
|
|
||||||
]
|
]
|
||||||
print("")
|
print("")
|
||||||
for app, models_name in org_app_models:
|
for app, models_name in org_app_models:
|
||||||
|
|
Loading…
Reference in New Issue