storage: add initial postgres event persistence and schema migration
This commit is contained in:
12
lib/parrhesia/repo.ex
Normal file
12
lib/parrhesia/repo.ex
Normal file
@@ -0,0 +1,12 @@
|
||||
defmodule Parrhesia.Repo do
|
||||
@moduledoc """
|
||||
PostgreSQL repository for storage adapter persistence.
|
||||
|
||||
Note: the repo is not yet started by the supervision tree while the
|
||||
storage adapter is in staged implementation.
|
||||
"""
|
||||
|
||||
use Ecto.Repo,
|
||||
otp_app: :parrhesia,
|
||||
adapter: Ecto.Adapters.Postgres
|
||||
end
|
||||
Reference in New Issue
Block a user