mysql

package
v0.0.0-...-cb4139d Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2023 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddMigration

func AddMigration(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

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

func MergeMigrationsMap

func MergeMigrationsMap(ms map[int64]*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

func SortedMigrations() rockhopper.MigrationSlice

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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