migration

package
v0.3.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2023 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