aboutsummaryrefslogtreecommitdiff
path: root/tool/src/migrate.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tool/src/migrate.rs')
-rw-r--r--tool/src/migrate.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/tool/src/migrate.rs b/tool/src/migrate.rs
index cb7647e..0412430 100644
--- a/tool/src/migrate.rs
+++ b/tool/src/migrate.rs
@@ -3,7 +3,7 @@
which is licensed under the GNU Affero General Public License (version 3); see /COPYING.
Copyright (C) 2024 metamuffin <metamuffin.org>
*/
-use crate::{Action, MigrateMode};
+use crate::cli::{Action, MigrateMode};
use anyhow::{bail, Context};
use indicatif::ProgressIterator;
use jellybase::database::redb::ReadableTableMetadata;
@@ -90,7 +90,7 @@ use std::{
// }
// }
-pub(crate) fn migrate(action: Action) -> anyhow::Result<()> {
+pub fn migrate(action: Action) -> anyhow::Result<()> {
match action {
Action::Migrate {
mode,