Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrInvalidConfig for source or db. ErrInvalidConfig = errors.New("invalid config") // ErrInvalidMigration happened. ErrInvalidMigration = errors.New("invalid migration") )
Functions ¶
func NewMigrator ¶ added in v1.3.0
func NewMigrator(tracer opentracing.Tracer) migrator.Migrator
NewMigrator for databases.
Types ¶
type Database ¶
type Database struct { Name string `yaml:"name"` Source string `yaml:"source"` URL string `yaml:"url"` }
Database for migrate.
Click to show internal directories.
Click to hide internal directories.