Versions in this module Expand all Collapse all v0 v0.1.0 Sep 11, 2022 Changes in this version + type Config struct + Db *sql.DB + DbName string + Driver Driver + HistoryTable string + Host string + Password string + Port uint32 + Username string + func New(config *Config) (*Config, error) + type Database interface + Exec func(script string) error + Insert func(cat, ver string, name string, desc string, checksum string) (*Row, error) + Read func(cat string) ([]*Row, error) + Update func(seq uint64, execTime uint32, success bool) error + type Driver rune + const MySQLDriver + type Row struct + AppliedAt uint64 + AppliedBy string + Category string + Checksum string + Description string + ExecutionTime uint32 + ScriptName string + Sequence uint64 + Success bool + Version string