Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MPP-3931: Enable pgcrypto #5089

Merged
merged 2 commits into from
Oct 10, 2024
Merged

MPP-3931: Enable pgcrypto #5089

merged 2 commits into from
Oct 10, 2024

Conversation

jwhitlock
Copy link
Member

Enable the pgcrypto extension for PostgreSQL, which allows using server-side cryptographic hashes. This is considered "trusted", so the CREATE privilege is enough to enable it.

I also adjusted the database configuration so that it can get DATABASE_URL from the .env file as well as the environment. This allowed me to confirm the migration runs on both SQLite and PostgreSQL.

How to test

CircleCI tests should be sufficient to test the migration.

@jwhitlock jwhitlock requested a review from groovecoder October 9, 2024 21:37
Copy link
Member

@groovecoder groovecoder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question (blocking): This seems fine, but I'm curious why we're enabling this? It's not obvious that the code or application are using it in any way?

@groovecoder groovecoder added this pull request to the merge queue Oct 10, 2024
Merged via the queue into main with commit 22e9725 Oct 10, 2024
29 checks passed
@groovecoder groovecoder deleted the enable-pgcrypto branch October 10, 2024 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants