Versions in this module Expand all Collapse all v4 v4.16.3 Sep 26, 2023 Changes in this version + var DefaultMigrationsTable = "schema_migrations" + var DefaultMigrationsTableEngine = "TinyLog" + 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 + ClusterName string + DatabaseName string + MigrationsTable string + MigrationsTableEngine string + MultiStatementEnabled bool + MultiStatementMaxSize int Other modules containing this package github.com/startedio/migrate