Fix refactoring error in states/events context id migration (#90193)

fixes #90074
This commit is contained in:
J. Nick Koston 2023-03-23 14:56:04 -10:00 committed by GitHub
parent e7e7f603c2
commit a44d6f30c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -718,7 +718,7 @@ class Recorder(threading.Thread):
if (
self.schema_version < CONTEXT_ID_AS_BINARY_SCHEMA_VERSION
or execute_stmt_lambda_element(
session, has_events_context_ids_to_migrate()
session, has_states_context_ids_to_migrate()
)
):
self.queue_task(StatesContextIDMigrationTask())
@ -726,7 +726,7 @@ class Recorder(threading.Thread):
if (
self.schema_version < CONTEXT_ID_AS_BINARY_SCHEMA_VERSION
or execute_stmt_lambda_element(
session, has_states_context_ids_to_migrate()
session, has_events_context_ids_to_migrate()
)
):
self.queue_task(EventsContextIDMigrationTask())