A blob schema of the app's own (Storehouse.Ecto.Blob): its primary
key a UUID, its timestamps in microseconds, its usage table, and
fields/0 in its schema block.
defmodule MyApp.Photo do
use Storehouse.Ecto.Blob.Schema, usages: "photo_usages"
schema "photos" do
Storehouse.Ecto.Blob.Schema.fields()
field :alt_text, :string
end
endOptions
:usages- the usage table (Storehouse.Ecto.Usage). The default is"storehouse_usages".
Summary
Functions
The fields of a blob: a migration's (Storehouse.Ecto.Migrations) columns.
Functions
The fields of a blob: a migration's (Storehouse.Ecto.Migrations) columns.