migratest

package
v0.0.271 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunPackrMigrationTests

func RunPackrMigrationTests(
	t *testing.T, schema, data MigrationSchemas,
	init, cleanup func(*testing.T, *sqlx.DB),
	runner func(*testing.T, string, *sqlx.DB, int, int, int),
)

RunPackrMigrationTests runs migration tests from packr migrations.

Types

type MigrationSchemas added in v0.0.29

type MigrationSchemas []map[string]*dbal.PackrMigrationSource

MigrationSchemas contains several schemas.

Jump to

Keyboard shortcuts

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