Skip to content

Commit 1b87e46

Browse files
committed
fix(rs): drop database as root
1 parent 11924bf commit 1b87e46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rs/src/modules/db.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ pub fn delete_all_dumps(config: &MWUtilConfig) -> anyhow::Result<()> {
156156
pub fn drop_mw_database(config: &MWUtilConfig) -> anyhow::Result<()> {
157157
let status = run_sql_query(
158158
config,
159-
DbCommandUser::Mw,
159+
DbCommandUser::Root,
160160
Some(DbCommandDatabase::None),
161161
format!(
162162
"DROP DATABASE IF EXISTS `{}`;",

0 commit comments

Comments
 (0)