improvement: prepend :postgres to section order

This commit is contained in:
Zach Daniel 2024-07-19 08:34:34 -04:00
parent ff7b854c3e
commit 142e74f026

View file

@ -17,6 +17,7 @@ defmodule Mix.Tasks.AshPostgres.Install do
|> configure_test(otp_app, repo)
|> setup_data_case()
|> Igniter.Project.Application.add_new_child(repo)
|> Spark.Igniter.prepend_to_section_order(:"Ash.Resource", [:postgres])
|> Ash.Igniter.codegen("initialize")
end