migrateutil

package
v0.8.3-beta.5 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMigrateVersion

func GetMigrateVersion(m *migrate.Migrate) (uint, bool, error)

func MakeMigrate

func MakeMigrate(storeName string, db *sql.DB, migrationFS fs.FS, migrationsName string) (*migrate.Migrate, error)

func Migrate

func Migrate(storeName string, db *sql.DB, migrationFS fs.FS, migrationsName string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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