Skip to main content

Module repository

Module repository 

Source
Expand description

The repository’s migrations: the .sql files of sql/repository, with the steps of those that have code.

The step of a migration is a module of this one, named after the migration with an m in front, and is listed in STEPS. m20261126130000_example_step is an example.

Structs§

Context
What the steps of the repository’s migrations are given: the server’s configuration and the keys it names.

Functions§

migrate
Applies the repository’s migrations that the database of pool lacks, their steps given context.
migrator
The repository’s migrations, which the build embeds.