var DefaultMigrationsTable = "schema_migrations"
var ( ErrNilConfig = fmt.Errorf("no config") )
func WithInstance(instance *sql.DB, config *Config) (database.Driver, error)
type Config struct { DatabaseName string MigrationsTable string }
type Firebird struct {
// contains filtered or unexported fields
}
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) SetVersion(version int, dirty bool) error
func (f *Firebird) Unlock() error
func (f *Firebird) Version() (version int, dirty bool, err error)