mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 00:37:53 +00:00
Fix typo in post_schema_migration (#121017)
This commit is contained in:
parent
b8b7c23258
commit
5b39989869
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user