From 41f0452e26b64f9e7e31a1e80ad84da9416c4a51 Mon Sep 17 00:00:00 2001 From: yggverse Date: Tue, 8 Oct 2024 04:14:24 +0300 Subject: [PATCH] make top-level migrate method private --- src/app.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app.rs b/src/app.rs index c51ec877..b4f0e40e 100644 --- a/src/app.rs +++ b/src/app.rs @@ -249,7 +249,7 @@ impl App { } // Tools - pub fn migrate(tx: &Transaction) -> Result<(), String> { + fn migrate(tx: &Transaction) -> Result<(), String> { // Migrate self components if let Err(e) = Database::init(&tx) { return Err(e.to_string());