This is duplicated in the ecto.gen.migration task. Please move to `Mix.Tasks.Ecto` module where we have convenience functions.