Documentation
¶
Overview ¶
Package db opens the PostgreSQL pool and applies the embedded schema migrations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Migrate ¶
Migrate applies every pending migration. A Postgres advisory lock makes it safe when several panel instances start at the same time.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.