Waffle.Ecto (waffle_ecto v0.0.12)
Waffle.Ecto provides an integration with Waffle
and Ecto
.
Waffle attachments should be stored in a string column, with a name indicative of the attachment.
create table :users do
add :avatar, :string
end
how-to-add-waffle_ecto-to-your-project
How to add waffle_ecto
to your project
- add Schema to the model
- configure Definition for uploader
pages
Pages
Link to this section Summary
Link to this section Types
@type t() :: %{file_name: String.t(), updated_at: DateTime.t()}