mirror of
https://github.com/jumpserver/jumpserver.git
synced 2026-05-12 17:53:53 +00:00
perf: 优化表结构迁移
This commit is contained in:
@@ -29,11 +29,6 @@ def migrate_default_org_id(apps, schema_editor):
|
||||
('terminal', ['Session', 'Command']),
|
||||
('tickets', ['Ticket']),
|
||||
('users', ['UserGroup']),
|
||||
('xpack', [
|
||||
'Account', 'SyncInstanceDetail', 'SyncInstanceTask', 'SyncInstanceTaskExecution',
|
||||
'ChangeAuthPlan', 'ChangeAuthPlanExecution', 'ChangeAuthPlanTask',
|
||||
'GatherUserTask', 'GatherUserTaskExecution',
|
||||
]),
|
||||
]
|
||||
print("")
|
||||
for app, models_name in org_app_models:
|
||||
|
||||
Reference in New Issue
Block a user