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