sqlite3

package
v1.40.4 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2022 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(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[int64]*rockhopper.Migration

func MergeMigrationsMap added in v1.31.0

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 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.

Jump to

Keyboard shortcuts

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