Created
September 17, 2018 23:06
-
-
Save KamilLelonek/21d1ad9f300c740a32cd7d868415318f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule PostgresPubSub.Repo do | |
use Ecto.Repo, | |
otp_app: :postgres_pubub | |
def child_spec(opts) do | |
%{ | |
id: __MODULE__, | |
start: {__MODULE__, :start_link, [opts]}, | |
type: :supervisor | |
} | |
end | |
def init(_, opts), do: {:ok, opts} | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment