Documentation
¶
Overview ¶
Package engine carries the goose migrations that define the metering engine's database schema. They are embedded rather than read from disk so that the binary and the schema it expects travel as one artifact: a container image cannot drift from the migration directory it was built against.
Index ¶
Constants ¶
View Source
const Version int64 = 2
Version is the highest version this package embeds, and so the schema a binary built from this tree expects.
Adding a migration means raising this; a test fails otherwise.
Variables ¶
View Source
var FS embed.FS
FS holds the migration files of this package. Goose applies them in the order given by the numeric prefix of each file name.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.