Skip to content

Commit

Permalink
Revert "Feature add pgcrypto ext (#795)"
Browse files Browse the repository at this point in the history
This reverts commit ba2b3e9.
  • Loading branch information
mwylde committed Dec 10, 2024
1 parent 2d4b906 commit fe412bb
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions crates/arroyo/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -372,19 +372,6 @@ async fn migrate(wait: Option<u32>) -> 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
Expand Down

0 comments on commit fe412bb

Please sign in to comment.