Ecto type for Erlang term format
Add the ecto_term
package to your list of dependencies in mix.exs
:
def deps do
[
{:ecto_term, "~> 0.0.1"}
]
end
defmodule MyApp.Venue do
use MyApp.Web, :model
schema "venues" do
field :adapter, EctoTerm # serialized BERT binary in DB
...
end
end
- Alex Kwiatkowski - alex+git@fremantle.io
ecto_term
is released under the MIT license