mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 20:55:10 +02:00
Fix typo in post_schema_migration (#121017)
This commit is contained in:
@@ -1181,7 +1181,7 @@ def post_schema_migration(
|
||||
_wipe_old_string_time_columns(instance, instance.engine, instance.event_session)
|
||||
if old_version < 35 <= new_version:
|
||||
# In version 34 we migrated all the created, start, and last_reset
|
||||
# columns to be timestamps. In version 34 we need to wipe the old columns
|
||||
# columns to be timestamps. In version 35 we need to wipe the old columns
|
||||
# since they are no longer used and take up a significant amount of space.
|
||||
_wipe_old_string_statistics_columns(instance)
|
||||
|
||||
|
Reference in New Issue
Block a user