Uni Ecto Plugin File

defmodule MyApp.Task do use Ecto.Schema use UniEctoPlugin.SoftDelete use UniEctoPlugin.Audit

config :uni_ecto_plugin, Repo, log_level: :info, global_filters: [:deleted_at], tenant_source: :header Use code with caution. 3. Implement in Your Schemas uni ecto plugin

Avoid creating circular compilation dependencies. If a unified plugin needs to know details about all schemas in your application, use runtime reflection ( __schema__/1 ) instead of compile-time code generation hooks wherever possible. Conclusion defmodule MyApp