From beaf05ab9ccd24bcfa1e968c90a052fd733feace Mon Sep 17 00:00:00 2001 From: damocles Date: Sat, 7 Nov 2026 01:26:29 +0100 Subject: [PATCH] c0re: drop the removed agent_power store from db::open examples --- hive-c0re/src/stores/db.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/hive-c0re/src/stores/db.rs b/hive-c0re/src/stores/db.rs index 2bd5e89d..899350ae 100644 --- a/hive-c0re/src/stores/db.rs +++ b/hive-c0re/src/stores/db.rs @@ -62,7 +62,7 @@ pub struct Migration { /// the shared `schema_versions` table. /// /// - `subsystem` — unique key for this store in `schema_versions` -/// (e.g. `"broker"`, `"agent_power"`). +/// (e.g. `"broker"`). /// - `migrations` — ordered list of [`Migration`]s; migration `i` runs when /// the stored version is `i`. A pre-versioning DB (no `schema_versions` /// row) starts at version 0 and re-walks every migration, but each @@ -142,8 +142,7 @@ fn column_exists(conn: &Connection, table: &str, column: &str) -> Result { } /// Open a connection to the sqlite file at `path`, creating the parent -/// directory if needed. `subsystem` labels error contexts (`"broker"`, -/// `"agent_power"`, …). +/// directory if needed. `subsystem` labels error contexts (`"broker"`, …). pub fn open(path: &Path, subsystem: &str) -> Result { if let Some(parent) = path.parent() { std::fs::create_dir_all(parent)