enums

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MapStringToDriverType = map[string]DriverType{
	"postgres":    DRIVER_POSTGRES,
	"cockroachdb": DRIVER_COCKROACHDB,
}

Functions

This section is empty.

Types

type DriverType

type DriverType int8
const (
	DRIVER_POSTGRES DriverType = iota
	DRIVER_COCKROACHDB
)

type HookType

type HookType int8
const (
	HOOK_REPEATABLE HookType = iota
	HOOK_REPEATABLE_DOWN

	HOOK_BEFORE
	HOOK_BEFORE_EACH
	HOOK_BEFORE_VERSION

	HOOK_AFTER
	HOOK_AFTER_EACH
	HOOK_AFTER_VERSION
)

func (*HookType) Name

func (h *HookType) Name() string

type MigrationType

type MigrationType int8
const (
	MIGRATION_UP MigrationType = iota
	MIGRATION_DOWN
)

func (*MigrationType) Name

func (m *MigrationType) Name() string

Jump to

Keyboard shortcuts

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