Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrStoreNotInitialized = fmt.Errorf("store not initialized")
)
Functions ¶
Types ¶
type Migrate ¶
type Migrate struct {
StoreConn StoreConn
TargetConn Execer
Key string
Files []*File
// contains filtered or unexported fields
}
Migrate is a mechanism to check and run migrations
type Migration ¶
type Migration struct {
// Filename from row, file or both
Filename string
// Database row if present
Row *store.RoachMigration
// File if present
File *File
}
Migration represents a single migration
Click to show internal directories.
Click to hide internal directories.