def METHOD_NAME(apps: Apps, schema_editor: BaseDatabaseSchemaEditor):
    from django.contrib.sessions.backends.cache import KEY_PREFIX
    from django.core.cache import cache
    session_keys = cache.keys(KEY_PREFIX + "*")
    cache.delete_many(session_keys)