We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7209cce commit f6a6fc8Copy full SHA for f6a6fc8
1 file changed
lib/mix/tasks/ecto.gen.migration.ex
@@ -77,6 +77,7 @@ defmodule Mix.Tasks.Ecto.Gen.Migration do
77
Mix.raise "migration can't be created, there is already a migration file with name #{name}."
78
end
79
80
+ # The :change option may be used by other tasks but not the CLI
81
assigns = [mod: Module.concat([repo, Migrations, camelize(name)]), change: opts[:change]]
82
create_file file, migration_template(assigns)
83
0 commit comments