File Size for Ecto v3.0.1 FileSize.Ecto.Bit View Source
An Ecto type that represents a file size in bits. The value is stored as integer in the database.
Example
defmodule MySchema do
use Ecto.Schema
schema "my_table" do
field :file_size, FileSize.Ecto.Bit
end
end