mysql

package
v0.0.0-...-875854f Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SqlFiles embed.FS

Functions

func Migrate

func Migrate(db *sql.DB) error

Migrate applies database migrations to the provided SQL database. It reads SQL migration files from the specified directory and executes them in order. The function returns an error if any migration fails to execute.

Types

This section is empty.

Jump to

Keyboard shortcuts

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