migrations

package
v0.0.0-...-575026b Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2025 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureAll

func EnsureAll(tx *sqlx.Tx, migrations []Migration) error

EnsureAll ensures all migrations have been applied.

Types

type Migration

type Migration struct {
	RowID   int64
	Name    string
	SQLText string
}

Jump to

Keyboard shortcuts

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