dbmigrate

package
v0.0.0-...-e5673ba Latest Latest
Warning

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

Go to latest
Published: May 7, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package dbmigrate contains the database schema, migrations and seeding data.

Index

Constants

This section is empty.

Variables

View Source
var Migrations = migrate.NewMigrations()

Migrations is a list of database Migrations.

Functions

func Migrate

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

Migrate attempts to bring the schema for db up to date with the migrations defined in this package.

Types

This section is empty.

Jump to

Keyboard shortcuts

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