migrations

package
v0.3.0 Latest Latest
Warning

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

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

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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

FS wraps the raw embed, hiding macOS AppleDouble companion files ("._x.sql") from goose. See internal/fsutil for why they appear and what they break.

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