Elixir Streams |> Remapping Ecto fields to existing columns
Recently learned of Ecto’s field/3
source
option.
It allows us to name the field one thing (helpful for our domain clarity) even when an existing column has a name we no longer like.
That’s very helpful when working with existing databases!
Check it out – Elixir Streams |> Remapping Ecto fields to existing columns
Read next Introducing the Paraxial.io GitHub App