migrations

package
v0.0.0-...-0953be8 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunAll

func RunAll()

Types

type Migration

type Migration interface {
	Id() string
	Run(store *bolthold.Store) error
	PostRun(store *bolthold.Store) error
	HasRun(store *bolthold.Store) bool
}

type PersistedMigration

type PersistedMigration struct {
	Id        string `boltholdkey:"Id"`
	CreatedAt time.Time
}

Jump to

Keyboard shortcuts

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