Documentation ¶
Overview ¶
Package log provides internal structs and options for the schema package for tracking logs generated when applying migrations.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct { Id int MigrationEdition string MigrationVersion int CreateTime time.Time Entry string }
Entry represents a log entry generated during migrations.
type Option ¶
type Option func(*Options)
Option - how Options are passed as arguments.
func WithDeleteLog ¶
WithDeleteLog provides an option to specify the deletion of log entries.
Click to show internal directories.
Click to hide internal directories.