Waffle.Ecto (waffle_ecto v0.0.11)
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
- add Schema to the model
- configure Definition for uploader
Pages
Link to this section Summary
Link to this section Types
Specs
t() :: %{file_name: String.t(), updated_at: DateTime.t()}