Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Path to a migration history file. Relative to the current working directory. Path string `hcl:"path"` }
Config is a config for local storage.
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
Storage is a storage.Storage implementation for local file. This was originally intended for debugging purposes, but it can also be used as a workaround if Storage doesn't support your cloud provider. That is, you can manually synchronize local output files to the remote.
func NewStorage ¶
NewStorage returns a new instance of Storage.
Click to show internal directories.
Click to hide internal directories.