Suppress redefining module warnings via compiler_options
This commit is contained in:
parent
edd8657c92
commit
f0a8dfcc21
2 changed files with 5 additions and 0 deletions
|
|
@ -5,6 +5,8 @@
|
|||
# Bootstrap runs in all environments. Dev seeds (members, groups, sample data)
|
||||
# run only in dev and test.
|
||||
|
||||
Code.compiler_options(ignore_module_conflict: true)
|
||||
|
||||
# Always run bootstrap (fee types, custom fields, roles, admin, system user, settings)
|
||||
Code.eval_file("priv/repo/seeds_bootstrap.exs")
|
||||
|
||||
|
|
@ -14,3 +16,4 @@ if Mix.env() in [:dev, :test] do
|
|||
end
|
||||
|
||||
IO.puts("✅ All seeds completed.")
|
||||
Code.compiler_options(ignore_module_conflict: false)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue