diesel-guard: Catch blocking PostgreSQL migrations before they hit production #4903
ayarotsky
started this conversation in
Show and tell
Replies: 2 comments 1 reply
-
|
Hi there, that looks really great. Mind submitting a PR adding this as notable community project to the diesel web page here? |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Added Path to v1. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I built a tool to catch dangerous DB migrations in projects that use Diesel ORM. Operations like
CREATE INDEX idx_users_email ON users(email)seem harmless, but block all writes for the entire duration of the index build.diesel-guardanalyzes your migration SQL and shows exactly what's unsafe and how to fix it:Current checks
Repo: https://github.com/ayarotsky/diesel-guard
Beta Was this translation helpful? Give feedback.
All reactions