migration

package
v1.10.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccountTimeMigration

type AccountTimeMigration struct {
	// contains filtered or unexported fields
}

func (*AccountTimeMigration) Migrate

func (m *AccountTimeMigration) Migrate() error

type Migration

type Migration interface {
	Migrate() error
}

func NewAccountTimeMigration

func NewAccountTimeMigration(logger *zap.Logger, states state.States) Migration

type Migrations

type Migrations struct {
	// contains filtered or unexported fields
}

func NewMigrations

func NewMigrations(logger *zap.Logger, migrations []Migration) *Migrations

func (*Migrations) RunAll

func (m *Migrations) RunAll() error

Jump to

Keyboard shortcuts

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