Versions in this module Expand all Collapse all v4 v4.14.3 Mar 25, 2021 v4.14.2 Mar 25, 2021 Changes in this version + var DefaultMigrationsTable = "schema_migrations" + var ErrNilConfig = fmt.Errorf("no config") + var ErrNoDatabaseName = fmt.Errorf("no database name") + func WithInstance(instance *sql.DB, config *Config) (database.Driver, error) + type Config struct + DatabaseName string + MigrationsTable string + type Redshift struct + func (p *Redshift) Close() error + func (p *Redshift) Drop() (err error) + func (p *Redshift) Lock() error + func (p *Redshift) Open(url string) (database.Driver, error) + func (p *Redshift) Run(migration io.Reader) error + func (p *Redshift) SetVersion(version int, dirty bool) error + func (p *Redshift) Unlock() error + func (p *Redshift) Version() (version int, dirty bool, err error) Other modules containing this package github.com/nafhul/migrate