How to repeat something many times in Elixir? Delights of compile-time checking

When creating new migration in Ecto (RDBMS mapper for Elixir), make sure to always test it by running and rolling it back successfully. These simple steps guarantees your database remains in stable state

https://hexdocs.pm/ecto_sql/Ecto.Migration.html

Shameless plug: Check out @elixirstatus' other community project:

Credo, a new static code analysis tool that acts as a code linter, but also focusses on teaching coding practices and code consistency.