migrations

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package db provides an embedded filesystem containing all the database migrations

Index

Constants

This section is empty.

Variables

View Source
var Migrations embed.FS

Migrations contain an embedded filesystem with all the sql migration files

Functions

func Migrate added in v0.0.9

func Migrate(db *sql.DB) error

Migrate runs all the migrations in the migrations directory. Note that goose is not thread-safe, and so, this function should not be called concurrently.

Types

This section is empty.

Jump to

Keyboard shortcuts

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