migration

package
v0.0.0-...-661352d Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2025 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PGMigrator

type PGMigrator struct {
	T *testing.T
	// contains filtered or unexported fields
}

func NewPGMigrator

func NewPGMigrator(params *ParamsNewPGMigrator) *PGMigrator

func (*PGMigrator) Migrate

func (m *PGMigrator) Migrate(db *sql.DB)

func (PGMigrator) SortByID

func (migrations PGMigrator) SortByID()

type ParamsNewPGMigrator

type ParamsNewPGMigrator struct {
	MigrationsTableName          sql.NullString
	RegexValidationMigrationFile sql.NullString

	Directories []fs.FS
	FilePaths   []string

	T *testing.T
}

Jump to

Keyboard shortcuts

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