summaryrefslogtreecommitdiff
path: root/src/channel/app.rs
diff options
context:
space:
mode:
authorOwen Jacobson <owen@grimoire.ca>2024-10-30 01:25:04 -0400
committerOwen Jacobson <owen@grimoire.ca>2024-10-30 01:25:04 -0400
commit70591c5ac10069a4ae649bd6f79d769da9e32a98 (patch)
treef9a4d155275975e4f37e063f331b7697f5c3cb07 /src/channel/app.rs
parentffba911ba5240f67cc616b2cc2eaf7c730ebbde8 (diff)
Remove `hi-recanonicalize`.
This utility was needed to support a database migration with existing data. I have it on good authority that no further databases exist that are in the state that made this tool necessary.
Diffstat (limited to 'src/channel/app.rs')
-rw-r--r--src/channel/app.rs8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/channel/app.rs b/src/channel/app.rs
index e32eb6c..21784e9 100644
--- a/src/channel/app.rs
+++ b/src/channel/app.rs
@@ -137,14 +137,6 @@ impl<'a> Channels<'a> {
Ok(())
}
-
- pub async fn recanonicalize(&self) -> Result<(), sqlx::Error> {
- let mut tx = self.db.begin().await?;
- tx.channels().recanonicalize().await?;
- tx.commit().await?;
-
- Ok(())
- }
}
#[derive(Debug, thiserror::Error)]