package redshift
import "github.com/golang-migrate/migrate/v4/database/redshift"
Index ¶
- Variables
- func WithInstance(instance *sql.DB, config *Config) (database.Driver, error)
- type Config
- type Redshift
- 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)
Variables ¶
var DefaultMigrationsTable = "schema_migrations"
Functions ¶
func WithInstance ¶
Types ¶
type Config ¶
type Redshift ¶
type Redshift struct {
// contains filtered or unexported fields
}
func (*Redshift) Close ¶
func (*Redshift) Drop ¶
func (*Redshift) Lock ¶
Redshift does not support advisory lock functions: https://docs.aws.amazon.com/redshift/latest/dg/c_unsupported-postgresql-functions.html
func (*Redshift) Open ¶
func (*Redshift) Run ¶
func (*Redshift) SetVersion ¶
func (*Redshift) Unlock ¶
func (*Redshift) Version ¶
Source Files ¶
- Version
- v4.3.1
- Published
- Apr 27, 2019
- Platform
- darwin/amd64
- Imports
- 12 packages
- Last checked
- 2 minutes ago –
Tools for package owners.