mysql

package
v1.56.1 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2024 License: AGPL-3.0 Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddMigration

func AddMigration(packageName string, up, down rockhopper.TransactionHandler)

AddMigration adds a migration with its runtime caller information

func AddNamedMigration

func AddNamedMigration(packageName, filename string, up, down rockhopper.TransactionHandler)

AddNamedMigration adds a named migration to the registered go migration map

func GetMigrationsMap added in v1.31.0

func GetMigrationsMap() map[rockhopper.RegistryKey]*rockhopper.Migration

func MergeMigrationsMap added in v1.31.0

func MergeMigrationsMap(ms map[rockhopper.RegistryKey]*rockhopper.Migration)

func Migrations

func Migrations() rockhopper.MigrationSlice

Migrations builds up the migration objects, sort them by timestamp and return as a slice

func SortedMigrations added in v1.31.0

func SortedMigrations() rockhopper.MigrationSlice

SortedMigrations builds up the migration objects, sort them by timestamp and return as a slice

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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