core

package
v0.0.0-...-b63e06c Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateMigration

func CreateMigration(
	ctx context.Context,
	config *helpers.Config,
	pool *pgxpool.Pool,
	migName string,
	migType string,
)

func RunMigration

func RunMigration(ctx context.Context, config *helpers.Config, pool *pgxpool.Pool)

Types

type Migration

type Migration struct {
	Id       int
	Filepath string
	Name     string
	Type     string
	Hash     string
}

Jump to

Keyboard shortcuts

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