I believe that would remove all the data under :column_name
You can use modify/3
alter table("posts") do
modify :title, :text
end
But you still need to handle typecasting the actual data in that column
See this thread Ecto Changeset: modify column type from :string to {:array, :string}