def rename_root_dept(apps, schema_editor):
    """
    将 root dept 重命名为 `部门`
    """
    Dept = apps.get_model('oneid_meta', 'Dept')
    root_dept, _ = Dept.objects.get_or_create(uid='root', is_del=False)
    root_dept.name = '部门'
    root_dept.save()
