Documentation
¶
Overview ¶
Package migrations embeds Astrate's SQL schema migrations (transcribed from docs/DESIGN.md §2.2–2.5) so the binary self-migrates at startup through golang-migrate's iofs source (docs/ROADMAP.md §3.1 file 2.6). A Go file is required here because go:embed cannot reach outside the declaring package's directory.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FS embed.FS
FS holds every numbered .up.sql/.down.sql migration file in this directory.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.