You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
analytics/lib/plausible/repo.ex

16 lines
292 B
Elixir

defmodule Plausible.Repo do
use Ecto.Repo,
otp_app: :plausible,
adapter: Ecto.Adapters.Postgres
use Scrivener, page_size: 24
defmacro __using__(_) do
quote do
alias Plausible.Repo
import Ecto
import Ecto.Query, only: [from: 1, from: 2]
end
end
end