migration

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModelChangeChannel = modelChangeFunction + "_channel"
)

Variables

This section is empty.

Functions

func ApplyModelChangeTrigger

func ApplyModelChangeTrigger(tableNames []string) (opts []schema.MigrateOption)

ApplyModelChangeTrigger returns the schema.MigrateOption slice for creating the model change trigger, which is used to notify the server with ModelChangeChannel when the database is changed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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