lib/history/product_type.ex
defmodule History.ProductType do
use EctoEnum,
type: :product_type,
enums: [:spot, :swap, :future, :option]
end
defmodule History.ProductType do
use EctoEnum,
type: :product_type,
enums: [:spot, :swap, :future, :option]
end