Exploring Options for Storing Custom Data in Ecto
Ever wanted to store a blob of custom data on a database record? When the data is stored using Ecto there are several ways we can do it. This article explores two paths and discusses some of the pros and cons for each approach. It includes some extra tips like versioning the custom blob and creating a custom Ecto type for optionally storing it as binary. Which of the two choices is better? Well, it depends.
https://fly.io/phoenix-files/exploring-options-for-storing-custom-data-in-ecto/
Read next How to paginate in Ecto.