mirror of
https://github.com/home-assistant/core.git
synced 2025-08-07 06:35:10 +02:00
no need to drop index already dropped
This commit is contained in:
@@ -1339,7 +1339,6 @@ def migrate_event_type_ids(instance: Recorder) -> bool:
|
||||
is_done = not events
|
||||
|
||||
if is_done:
|
||||
_drop_index(session_maker, "events", "ix_events_event_type")
|
||||
_drop_index(session_maker, "events", "ix_events_event_type_time_fired_ts")
|
||||
instance.event_type_manager.active = True
|
||||
|
||||
|
Reference in New Issue
Block a user