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) Lock() error
- func (f *Firebird) Open(dsn string) (database.Driver, error)
- func (f *Firebird) Run(migration io.Reader) error
- func (f *Firebird) RunFunctionMigration(fn source.MigrationFunc) error
- func (f *Firebird) SetVersion(version int, dirty bool) 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) RunFunctionMigration ¶
func (f *Firebird) RunFunctionMigration(fn source.MigrationFunc) error
Click to show internal directories.
Click to hide internal directories.