How to query a JSONB array field using Postgres contains and Elixir’s Ecto library

Lessons learned the hard way