db

package
v0.0.0-...-8093eda Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunFlywayMigration

func RunFlywayMigration(path string) (bool, error)

RunFlywayMigration runs a Flyway migration on your local machine. If the migration is successful, the function will return with a boolean value of true and nil error. Parameters: path, the directory path where the migration files are located

func ValidateFlywayFileFormat

func ValidateFlywayFileFormat(path string) error

ValidateFlywayFileFormat validates the file fomrats of the Flyway files are in the correct format. If they are incorrect, return an error

Types

This section is empty.

Jump to

Keyboard shortcuts

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