1

:strong_migrations for Elixir - catch unsafe migrations easily

 2 years ago
source link: https://dev.to/patryk/strongmigrations-for-elixir-catch-unsafe-migrations-easily-3731
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client
Cover image for :strong_migrations for Elixir - catch unsafe migrations easily

: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


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK