fix: login issue #2
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
# MQTT live data — Phase 5: all functions now backed by Postgres
|
||||
from database.pg_mqtt import (
|
||||
init_db,
|
||||
close_db,
|
||||
@@ -19,9 +20,14 @@ from database.pg_mqtt import (
|
||||
ensure_current_partitions,
|
||||
)
|
||||
|
||||
# SQLite connection — still used by melodies, builder, manufacturing, and crm
|
||||
# modules that have not yet been cut over to Postgres.
|
||||
from database.core import get_db
|
||||
|
||||
__all__ = [
|
||||
"init_db",
|
||||
"close_db",
|
||||
"get_db",
|
||||
"purge_loop",
|
||||
"purge_old_data",
|
||||
"insert_log",
|
||||
|
||||
Reference in New Issue
Block a user