storage: add initial postgres event persistence and schema migration

This commit is contained in:
2026-03-13 20:29:58 +01:00
parent 7ec588805b
commit cd1adf94f0
6 changed files with 668 additions and 8 deletions

12
lib/parrhesia/repo.ex Normal file
View 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