manual

package
v0.0.0-...-474e43f Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Put new manual migrations as function into this package. Never change or remove existing functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute() []error

func Migrate000History

func Migrate000History() error

Migrate000History is a manual migration that appears to originally have been intended to drop indices before auto-migration runs. The database used to be migrated by changing ./cmd/migrate/main.go and running the migration. This is the last block that was present when we introduced the new migration system. For more details see the git history.

Types

type Migration

type Migration struct {
	Name string
	Func func() error
}

Jump to

Keyboard shortcuts

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