From fe412bb3731b617004fd16ea55ce997fa9a54732 Mon Sep 17 00:00:00 2001 From: Micah Wylde Date: Fri, 6 Dec 2024 16:50:13 -0800 Subject: [PATCH] Revert "Feature add pgcrypto ext (#795)" This reverts commit ba2b3e9b8ce1d77646f34be4179ca7398e420730. --- crates/arroyo/src/main.rs | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/crates/arroyo/src/main.rs b/crates/arroyo/src/main.rs index ac7798a0f..03c0f4ca0 100644 --- a/crates/arroyo/src/main.rs +++ b/crates/arroyo/src/main.rs @@ -372,19 +372,6 @@ async fn migrate(wait: Option) -> anyhow::Result<()> { config().database.postgres ); - // make compatible with lower version PG (i.g. 12.16) which not support function - // gen_random_uuid by default. - client - .batch_execute("CREATE EXTENSION IF NOT EXISTS pgcrypto;") - .await - .map_err(|e| { - anyhow!( - "Failed to create extension pgcrypto on {:?}: {:?}", - config().database.postgres, - e - ) - })?; - let report = migrations::migrations::runner() .run_async(&mut client) .await