Versions in this module Expand all Collapse all v0 v0.2.0 Feb 27, 2023 v0.1.0 Oct 6, 2022 Changes in this version + var DatabasePrefix = "test" + var SchemaVersionTable = "schema_version" + func SQLTestName(t testing.TB) string + type Migration struct + Options Options + func New(t testing.TB, o Options) *Migration + func (m *Migration) MigrateTo(ctx context.Context, targetVersion int32) + func (m *Migration) Setup(ctx context.Context, connString string) *pgxpool.Pool + func (m *Migration) SetupVersion(ctx context.Context, connString string, targetVersion int32) *pgxpool.Pool + func (m *Migration) Teardown(ctx context.Context) + type Options struct + Files fs.FS + Force bool + SkipTeardown bool + TemporaryDatabasePrefix string + UseExisting bool