defmodule Microwaveprop.AprsRepo do @moduledoc """ Secondary repo for read-only access to aprs.me's `packets` table. Used by `Microwaveprop.Aprs` and the `Mix.Tasks.Calibrate.Aprs144` mix task to pull verified RF hops as ground truth for 144 MHz scoring. This repo never owns schema, migrations, or writes — it only ever issues SELECT queries against aprs.me's existing partitioned `packets` table. The connection is configured to fail closed if `APRS_DATABASE_URL` is unset in production. """ use Ecto.Repo, otp_app: :microwaveprop, adapter: Ecto.Adapters.Postgres, read_only: true end