migrate

package
v0.9.3 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Overview

Package migrate provides a simple mechanism for dealing with migrations of a SQLite database.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(db *sql.DB, migrations MigrateFS) error

Run applies all unapplied migrations.

Types

type MigrateFS

type MigrateFS interface {
	fs.ReadDirFS
	fs.ReadFileFS
}

Jump to

Keyboard shortcuts

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