How to set a data type of longtext in Ecto migration

I need longtext data type instead of text in mysql table column.

The migration plumbing will pass along any type it doesn’t recognize as-is, so you should be able to write add :lots_of_data, :longtext

1 Like

Thank you so much for your help