sqlservermigrations

package
v1.14.6 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Migrations

type Migrations struct {
	DB                *sql.DB
	Logger            logger.Logger
	Schema            string
	MetadataTableName string
	MetadataKey       string
	// contains filtered or unexported fields
}

Migrations performs migrations for the database schema

func (*Migrations) Perform

func (m *Migrations) Perform(ctx context.Context, migrationFns []commonsql.MigrationFn) (err error)

Perform the required migrations

Jump to

Keyboard shortcuts

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