Documentation ¶
Index ¶
- Constants
- Variables
- func GetMigrationFile(version string, fsys afero.Fs) (string, error)
- func NewMigrationFromVersion(version string, fsys afero.Fs) (*migration.MigrationFile, error)
- func Run(ctx context.Context, config pgconn.Config, version []string, status string, ...) error
- func UpdateMigrationTable(ctx context.Context, conn *pgx.Conn, version []string, status string, ...) error
Constants ¶
View Source
const ( Applied = "applied" Reverted = "reverted" )
Variables ¶
View Source
var ErrInvalidVersion = errors.New("invalid version number")
Functions ¶
func GetMigrationFile ¶ added in v1.85.0
func NewMigrationFromVersion ¶ added in v1.67.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.