migrations

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitialUp

func InitialUp(tx *sql.Tx) error

func Migrate

func Migrate()

Migrate launching migrations.

func New

func New(cc *context.Context)

New initializes migrations.

func PasswordedPastesDown

func PasswordedPastesDown(txn *sql.Tx) error

func PasswordedPastesUp

func PasswordedPastesUp(txn *sql.Tx) error

func PasteLangDown

func PasteLangDown(tx *sql.Tx) error

func PasteLangUp

func PasteLangUp(tx *sql.Tx) error

func PrivatePastesDown

func PrivatePastesDown(tx *sql.Tx) error

func PrivatePastesUp

func PrivatePastesUp(tx *sql.Tx) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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