reporting

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package reporting carries the goose migrations that define the Reporting API'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 = 11

Version is the highest version this package embeds, and so the schema a binary built from this tree expects. Readiness compares it against what the database carries, which is what keeps a pod from serving traffic against a schema its code is newer than.

Adding a migration means raising this; a test fails otherwise.

Variables

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL