make top-level migrate method private

This commit is contained in:
yggverse 2024-10-08 04:14:24 +03:00
parent 274bf490b3
commit 41f0452e26

View File

@ -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());