Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunMigrations ¶
func RunMigrations(migrations Migrations) error
Types ¶
type Logger ¶
Logger defines the interface for a logger that can be used by the goose migration tool.
type Migrations ¶
type Options ¶
type Options struct {
// SkipMigrations prevents the store from automatically running database migrations on startup.
// This is useful in environments where migrations are handled by a separate process.
SkipMigrations bool
// Logger is the logger instance goose will use. It defaults to a no-op logger.
Logger Logger
}
Options provides configuration for the database migration process.
Click to show internal directories.
Click to hide internal directories.