DEV Community

Cover image for :strong_migrations for Elixir - catch unsafe migrations easily
Patryk Woziński
Patryk Woziński

Posted on

2

:strong_migrations for Elixir - catch unsafe migrations easily

Hey, hey! I just published my next small open-source library (actually, it's a "port" from Ruby). Thanks to :strong_migrations you can catch all unsafe things that happening in your application's migrations like:

  • remove column
  • rename column
  • drop table
  • add index non-concurrently
  • add index concurrently in a transaction
  • drop index concurrently in a transaction

... and soon much more like migrations that are adding NOT NULL, etc. There are also a few configuration possibilities, so you can prepare everything to meet your application's requirements.

Any feedback or feedback is welcome. That is my first time when I was working on the AST - that's also why I've opened an issue with the "help wanted" label. It's related to refactoring possibilities of the AST parser.

https://github.com/patrykwozinski/strong_migrations

Top comments (0)

Billboard image

Create up to 10 Postgres Databases on Neon's free plan.

If you're starting a new project, Neon has got your databases covered. No credit cards. No trials. No getting in your way.

Try Neon for Free →

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay