When developers get warnings from excellent migrations they should know how to deal with them. First place where they look is lib documentation, therefore It's very important to have explanation of dangerous action and recipes how to implement them in a safe way.
I have copied them from https://github.com/fly-apps/safe-ecto-migrations and https://github.com/ankane/strong_migrations adopting examples for Ecto.
When developers get warnings from excellent migrations they should know how to deal with them. First place where they look is lib documentation, therefore It's very important to have explanation of dangerous action and recipes how to implement them in a safe way. I have copied them from https://github.com/fly-apps/safe-ecto-migrations and https://github.com/ankane/strong_migrations adopting examples for Ecto.