How to alter a column name in an Ecto model with a migration?

You can now do that with Ecto.Migration.rename/3:

rename table(:posts), :title, to: :summary

We don't have an option to rename columns yet. You will need to consult your database documentation and issue a SQL statement with execute.