Documentation
¶
Index ¶
- Variables
- func WithInstance(instance *sql.DB, config *Config) (database.Driver, error)
- type Config
- type Firebird
- func (f *Firebird) Close() error
- func (f *Firebird) Drop() (err error)
- func (f *Firebird) ListAppliedVersions() ([]int, error)
- func (f *Firebird) Lock() error
- func (f *Firebird) Open(dsn string) (database.Driver, error)
- func (f *Firebird) Run(migration io.Reader) error
- func (f *Firebird) SetSourceDriver(sourceDrv source.Driver) error
- func (f *Firebird) SetVersion(version int, dirty bool, forced bool, knownDirection *source.Direction) (*source.Direction, error)
- func (f *Firebird) Unlock() error
- func (f *Firebird) Version() (version int, dirty bool, err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultMigrationsTable = "schema_migrations"
View Source
var (
ErrNilConfig = fmt.Errorf("no config")
)
Functions ¶
Types ¶
type Firebird ¶
type Firebird struct {
// contains filtered or unexported fields
}
func (*Firebird) ListAppliedVersions ¶
func (*Firebird) SetSourceDriver ¶
This database driver does not currently support file sourcing.
func (*Firebird) SetVersion ¶
Click to show internal directories.
Click to hide internal directories.