migrations

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2026 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

Package migrations holds the store's schema migrations, one set per SQL dialect, embedded into the binary and applied by goose.

The sets are numbered alike: a change is one file in each, under the same version, so the version a database reports means the same schema on either. SQLite's set is the store's history from 0001; Postgres's starts at the baseline 0023, the SQLite schema as of 0023 with tenant isolation added (MAI-150), since no Postgres database predates it. A file must never be renumbered or removed once released: goose knows a migration by its number alone.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Postgres

func Postgres() fs.FS

Postgres is the Postgres set.

func SQLite

func SQLite() fs.FS

SQLite is the SQLite set.

Types

This section is empty.

Jump to

Keyboard shortcuts

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