I found the answer in the list of primitive types for Ecto.Schema here:
The answer is to define the type like this:
schema "my_model" do
field :my_array, {:array, :float}
timestamps
end
I found the answer in the list of primitive types for Ecto.Schema here:
The answer is to define the type like this:
schema "my_model" do
field :my_array, {:array, :float}
timestamps
end