brightball

brightball

Anybody know of an equivalent to Ruby's strong_migrations gem?

I spent a lot of time on CI setup for a new project last week and went through all of the project staples to get things in a good place: sobelow, credo, deps.audit, dialyzer (with plt caching).

But one of my favorite security blankets on Rails projects was always the strong_migrations gem, which inspects Rails migrations and warns the developer about potentially unsafe operations in their migrations while recommending safer alternatives. I’ve run into many developers who don’t take these things into account so this gem was always a big favorite of mine.

https://github.com/ankane/strong_migrations

I’ve been digging around on Hex and Google though and I can’t seem to find an equivalent for Ecto Migrations.

Does anyone know of something similar?

Most Liked

silverdr

silverdr

And another one, seemingly developed more actively as of today:

nathanbegbie

nathanbegbie

It looks like there is now a strong_migrations equivalent for Elixir, but I don’t yet know whether it has feature parity with the Ruby gem

Where Next?

Popular in Discussions Top

AstonJ
Are there any Elixir or Erlang libraries that help with this? I’ve been thinking how streaming services like twitch have exploded recentl...
New
joeerl
I’m playing with Elixir - It’s fun. I think @rvirding does give Elixir courses these days. Re: files and database - when I given Erlang ...
New
acrolink
How does the two languages compare when it comes to server side application development? Any experiences or ideas? Thank you.
New
mikl
I wanted to capitalize a string, and tried using String.capitalize(). That generally works well, until you try to capitalize a word like...
New
RudManusachi
What configs will make sense to put to runtime.exs? – A bit of how I configure apps: I have generic configs in config/config.exs, dev...
New
AngeloChecked
What learn first? Rust or Elixir Hi Elixir community! I’m here because i want learn a new language. I’m a junior developer and mainly i ...
New
fireproofsocks
I’ve been working on an Elixir project that has required a lot of scripting. I usually reach for Elixir because I like it more (and in th...
New

Other popular topics Top

jononomo
For some reason my phoenix channels are working for me in my local dev environment, but as soon as I deploy via Docker, I get a 403 error...
New
dokuzbir
I want to highlight html closing tags when i click a html tag. That works in .html files but doesnt work for html.eex templates. How can...
New
nsuchy
Hi. I’ve noticed that Windows Powershell has it’s own IEX command and you cannot access Elixir’s IEX due to the conflict. This isn’t a cr...
New
AstonJ
Seen any cool LiveView demos, sample apps or examples? Please post them here! :003:
New
saif
Hello everyone, Long time lurker first time poster here. I’ve recently begun working on Elixir full-time again! :raised_hands: It’s been...
New
Patoshizzle
After calling mix ecto.create I get this error: 17:00:32.162 [error] GenServer #PID<0.412.0> terminating ** (Postgrex.Error) FATAL...
New

We're in Beta

About us Mission Statement