Documentation
¶
Overview ¶
Package mariadb implements the migration.Provider for MariaDB.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
Provider is the MariaDB migration.Provider. MariaDB DDL statements cause an implicit commit, so unlike PostgreSQL, migrations here cannot be wrapped in a rollback-able transaction; the history table's dirty flag is what makes a crash mid-migration detectable instead.
func (*Provider) History ¶
func (p *Provider) History() migration.HistoryStore
func (*Provider) SupportsTransactionalDDL ¶
Click to show internal directories.
Click to hide internal directories.