Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MigrateWithDB ¶
MigrateWithDB ensures that the database contains all currently known migrations using the supplied options.
Types ¶
type MigrateOptions ¶
type MigrateOptions struct {
// IgnoreSignatureChanges accepts changed contents for migrations that are
// already installed. The migration SQL is not run again; only the stored
// hash is updated.
IgnoreSignatureChanges bool
}
MigrateOptions controls optional forward-migration behavior.
Click to show internal directories.
Click to hide internal directories.