mirror of https://github.com/jumpserver/jumpserver
perf: 优化迁移后的 Redis 数据库平台从 Redis6+ 修改为 Redis6
parent
22b56d73b6
commit
127f6730f6
|
@ -26,7 +26,7 @@ def migrate_database_to_asset(apps, *args):
|
|||
platform_model = apps.get_model('assets', 'Platform')
|
||||
|
||||
applications = app_model.objects.filter(category='db')
|
||||
platforms = platform_model.objects.all().filter(internal=True)
|
||||
platforms = platform_model.objects.all().filter(internal=True).exclude(name='Redis6+')
|
||||
platforms_map = {p.type: p for p in platforms}
|
||||
print()
|
||||
|
||||
|
|
Loading…
Reference in New Issue