Phase 5 of Migration

This commit is contained in:
2026-04-17 15:51:27 +03:00
parent da4608c937
commit a605143c5d
5 changed files with 449 additions and 25 deletions

View File

@@ -1,7 +1,6 @@
from database.core import (
from database.pg_mqtt import (
init_db,
close_db,
get_db,
purge_loop,
purge_old_data,
insert_log,
@@ -16,12 +15,13 @@ from database.core import (
upsert_alert,
delete_alert,
get_alerts,
partition_manager_loop,
ensure_current_partitions,
)
__all__ = [
"init_db",
"close_db",
"get_db",
"purge_loop",
"purge_old_data",
"insert_log",
@@ -36,4 +36,6 @@ __all__ = [
"upsert_alert",
"delete_alert",
"get_alerts",
"partition_manager_loop",
"ensure_current_partitions",
]