lightmigrate-mysql

module
v0.0.0-...-d1fec9d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 14, 2022 License: MIT

README

LightMigrate - MySQL/MariaDB migration driver

codecov GoDoc GitHub last commit Go Report Card GitHub go.mod Go version GitHub code size in bytes GitHub Release

This module is part of the LightMigrate library. It provides a migration driver for MySQL or MariaDB.

Features

  • Driver work with MySQL or MariaDB.
  • If the database client was initialized with multiStatements=true, multiple statements are supported within the migration files.
  • Examples

Configuration Options

Configuration options can be passed to the constructor using the With<Config-Option> functions.

Config Value Defaults Description
MigrationsTable schema_migrations Name of the migrations table.
Locking true If database locking should be used.
Logger log.Default() The logger instance that should be used.
VerboseLogging false If set to true, more log messages will be printed.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL