From 0225dbde3a16d63940b07020abe8fe9e871e0a83 Mon Sep 17 00:00:00 2001 From: Bill Thiede Date: Sun, 20 Apr 2025 09:46:27 -0700 Subject: [PATCH] procmail2notmuch: don't run migration code, leave it to server --- procmail2notmuch/src/main.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/procmail2notmuch/src/main.rs b/procmail2notmuch/src/main.rs index a6f66a6..f524e78 100644 --- a/procmail2notmuch/src/main.rs +++ b/procmail2notmuch/src/main.rs @@ -309,7 +309,6 @@ fn notmuch_from_rules(mut w: W, rules: &[Rule]) -> anyhow::Result<()> async fn load_sql(dsn: &str, rules: &[Rule]) -> anyhow::Result<()> { let pool = PgPool::connect(dsn).await?; - sqlx::migrate!("../server/migrations").run(&pool).await?; println!("clearing email_rule table"); sqlx::query!("DELETE FROM email_rule") .execute(&pool)