migrate

package
v0.0.0-...-4a5e4cf Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Migrate

func Migrate(db *pgxpool.Pool) error

Migrate performs the database migration. If the migration fails and error is returned.

Types

type Statement

type Statement struct {
	Name   string
	Value  string
	Driver string
}

Statement represents a statement in the sql file.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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