migrate

package
v0.0.0-...-557e5d5 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package migrate provides functions used by the dbtest package to init a database for proper use.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Migrate

func Migrate(ctx context.Context, db *sqlx.DB) (err error)

Migrate will run the migration files.

func Seed

func Seed(ctx context.Context, db *sqlx.DB) (err error)

Seed will insert data needed for a new database.

Types

This section is empty.

Jump to

Keyboard shortcuts

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