Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DBEngine ¶
type DBEngine interface {
IsConfigured() bool // Has this database already been used by migrate?
Configure() error // Set up the table needed to track patches
GetInstalledIDs() (*set.Set, error) // Return the IDs of patches that have already been installed
Patch(*patch.Patch) error
}
func NewMockDBE ¶
func NewSQLiteDBE ¶
type PGDBE ¶
type PGDBE struct {
// contains filtered or unexported fields
}
func (*PGDBE) CheckInstall ¶
func (*PGDBE) IsConfigured ¶
Click to show internal directories.
Click to hide internal directories.