Waffle. Ecto
(waffle_ecto v0.0.13)
Copy Markdown
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
endHow to add waffle_ecto to your project
- add Schema to the model
- configure Definition for uploader
Pages
Summary
Types
@type t() :: %{file_name: String.t(), updated_at: DateTime.t()}