Documentation
¶
Overview ¶
Package db provides shared PostgreSQL connections and central bootstrap migrations. Call Open once at boot, pass the *sql.DB to every store constructor.
Independent persistent stores retain their own constructor migrations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Migrate ¶
Migrate atomically creates bootstrap-owned tables and upgrades shared suspension/routine, goal and gateway definitions. Other stores migrate separately. Concurrent updated bootstraps coordinate with shared-store owner locks.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.