Browse Source

make top-level migrate method private

master
yggverse 2 months ago
parent
commit
41f0452e26
  1. 2
      src/app.rs

2
src/app.rs

@ -249,7 +249,7 @@ impl App {
} }
// Tools // Tools
pub fn migrate(tx: &Transaction) -> Result<(), String> { fn migrate(tx: &Transaction) -> Result<(), String> {
// Migrate self components // Migrate self components
if let Err(e) = Database::init(&tx) { if let Err(e) = Database::init(&tx) {
return Err(e.to_string()); return Err(e.to_string());

Loading…
Cancel
Save