def METHOD_NAME(apps, schema_editor):
    Group = apps.get_model("auth", "Group")
    schema_editor.alter_db_table(
        Group,
        "account_group",
        "auth_group",
    )
    PermissionGroup = Group.permissions.through
    schema_editor.alter_db_table(
        PermissionGroup,
        "account_group_permissions",
        "auth_group_permissions",
    )