migrations

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2026 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Overview

Package migrations embeds the SQL migration files used by goose to manage the sqi-server SQLite schema.

The embedded FS is passed to goose via [goose.SetBaseFS] so that migration files are included in the binary and do not need to be present on disk at runtime.

Migration files follow the goose naming convention:

<version>_<description>.sql

where <version> is a zero-padded integer and each file contains "-- +goose Up" and "-- +goose Down" sections.

The full schema lives in the numbered migration files; this package is wired up by the migrate subcommand so the CLI is operational from the start.

Index

Constants

This section is empty.

Variables

View Source
var FS fs.FS = appleDoubleFilter{raw}

FS wraps the raw embed, hiding any file whose base name begins with "._".

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