You have to use modify/3 to change the type. add/3 is only for adding new columns.
alter table(:editables) do
modify :content, :binary
end
You have to use modify/3 to change the type. add/3 is only for adding new columns.
alter table(:editables) do
modify :content, :binary
end