Versions in this module Expand all Collapse all v4 v4.14.5 Feb 22, 2021 Changes in this version + var DefaultMigrationsTable = "schema_migrations" + var DefaultMultiStatementMaxSize = 10 * 1 << 20 + var ErrNilConfig = fmt.Errorf("no config") + func WithInstance(conn *sql.DB, config *Config) (database.Driver, error) + type ClickHouse struct + func (ch *ClickHouse) Close() error + func (ch *ClickHouse) Drop() (err error) + func (ch *ClickHouse) Lock() error + func (ch *ClickHouse) Open(dsn string) (database.Driver, error) + func (ch *ClickHouse) Run(r io.Reader) error + func (ch *ClickHouse) SetVersion(version int, dirty bool) error + func (ch *ClickHouse) Unlock() error + func (ch *ClickHouse) Version() (int, bool, error) + type Config struct + DatabaseName string + MigrationsTable string + MultiStatementEnabled bool + MultiStatementMaxSize int Other modules containing this package github.com/nagyistzcons/migrate