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.
Click to show internal directories.
Click to hide internal directories.