migrations

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package migrations exposes the embedded outbox SQL migrations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FS

func FS() embed.FS

FS returns the embedded migration files, for use with golang-migrate (iofs source), goose, atlas, etc.

The SQL is schema-unqualified: to install into a non-default schema, set search_path on the migration connection.

func Up

func Up() []string

Up returns the contents of every *.sql file, ordered by filename. Each entry is ready to pass to Exec for callers that apply migrations without a dedicated tool. Migrations are forward-only; there are no down files.

Types

This section is empty.

Jump to

Keyboard shortcuts

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