14 lines
257 B
Elixir
14 lines
257 B
Elixir
|
defmodule Ecto.Application do
|
||
|
@moduledoc false
|
||
|
use Application
|
||
|
|
||
|
def start(_type, _args) do
|
||
|
children = [
|
||
|
Ecto.Repo.Registry
|
||
|
]
|
||
|
|
||
|
opts = [strategy: :one_for_one, name: Ecto.Supervisor]
|
||
|
Supervisor.start_link(children, opts)
|
||
|
end
|
||
|
end
|