update
This commit is contained in:
17
phoenix/deps/phoenix_ecto/lib/phoenix_ecto.ex
Normal file
17
phoenix/deps/phoenix_ecto/lib/phoenix_ecto.ex
Normal file
@@ -0,0 +1,17 @@
|
||||
defmodule Phoenix.Ecto do
|
||||
@moduledoc """
|
||||
Integrates Phoenix with Ecto.
|
||||
|
||||
It implements many protocols that make it easier to use
|
||||
Ecto with Phoenix either when working with HTML or JSON.
|
||||
"""
|
||||
use Application
|
||||
|
||||
def start(_type, _args) do
|
||||
children = [
|
||||
{DynamicSupervisor, name: Phoenix.Ecto.SQL.SandboxSupervisor, strategy: :one_for_one}
|
||||
]
|
||||
|
||||
Supervisor.start_link(children, strategy: :one_for_one, name: Phoenix.Ecto.Supervisor)
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user