migrations

package
v0.0.0-...-132c30d Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultSettings

func DefaultSettings() *viper.Viper

DefaultSettings returns all defaults for this package as a viper register.

This is primarily intended for documentation & help purpose.

Types

type Migrator

type Migrator struct {
	*gooseplus.Migrator
}

func New

func New(rt injected.Runtime) *Migrator

New database migrator, using github.com/fredbi/gooseplus.

Suited for a postgres DB, uses embedded FS to store migrations.

Jump to

Keyboard shortcuts

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