When to use field :default in an Ecto schema
What does the :default
option actually do when you set it on a field in the Ecto schema? This blog post makes a dive into this, to understand how this option works, and discuss when to use it.
https://danschultzer.com/posts/when-to-use-field-default-in-ecto
Read next 🥷 Dodge Runtime Exceptions with Compile Time Config