Skip to content

Commit

Permalink
improvement: set a name for generated migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdaniel committed Sep 19, 2024
1 parent ebd7a71 commit 1031588
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/mix/tasks/ash_postgres.gen.resources.ex
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,9 @@ defmodule Mix.Tasks.AshPostgres.Gen.Resources do
if options[:no_migrations] do
igniter
else
Igniter.add_task(igniter, "ash_postgres.generate_migrations", migration_opts)
Igniter.add_task(igniter, "ash_postgres.generate_migrations", [
"import_resources" | migration_opts
])
end
end)
end
Expand Down

0 comments on commit 1031588

Please sign in to comment.