{"id":20328594,"url":"https://github.com/h44z/lightmigrate-mysql","last_synced_at":"2026-04-12T03:31:15.410Z","repository":{"id":57650616,"uuid":"448010369","full_name":"h44z/lightmigrate-mysql","owner":"h44z","description":"Lightweight database migragtion library for Golang - MySQL / MariaDB driver","archived":false,"fork":false,"pushed_at":"2022-01-14T15:24:24.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-14T14:59:12.917Z","etag":null,"topics":["database","golang","mariadb","migration","mysql"],"latest_commit_sha":null,"homepage":"https://github.com/h44z/lightmigrate","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/h44z.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-01-14T15:13:19.000Z","updated_at":"2022-01-14T15:16:15.000Z","dependencies_parsed_at":"2022-09-26T21:02:01.683Z","dependency_job_id":null,"html_url":"https://github.com/h44z/lightmigrate-mysql","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h44z%2Flightmigrate-mysql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h44z%2Flightmigrate-mysql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h44z%2Flightmigrate-mysql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/h44z%2Flightmigrate-mysql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/h44z","download_url":"https://codeload.github.com/h44z/lightmigrate-mysql/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241844282,"owners_count":20029611,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database","golang","mariadb","migration","mysql"],"created_at":"2024-11-14T20:06:59.307Z","updated_at":"2025-12-31T00:56:23.136Z","avatar_url":"https://github.com/h44z.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# LightMigrate - MySQL/MariaDB migration driver\n\n[![codecov](https://codecov.io/gh/h44z/lightmigrate-mysql/branch/master/graph/badge.svg?token=S7E18P04CY)](https://codecov.io/gh/h44z/lightmigrate-mysql)\n[![License: MIT](https://img.shields.io/badge/license-MIT-green.svg)](https://opensource.org/licenses/MIT)\n[![GoDoc](https://pkg.go.dev/badge/github.com/h44z/lightmigrate-mysql/mysql)](https://pkg.go.dev/github.com/h44z/lightmigrate-mysql/mysql)\n![GitHub last commit](https://img.shields.io/github/last-commit/h44z/lightmigrate-mysql)\n[![Go Report Card](https://goreportcard.com/badge/github.com/h44z/lightmigrate-mysql)](https://goreportcard.com/report/github.com/h44z/lightmigrate-mysql)\n![GitHub go.mod Go version](https://img.shields.io/github/go-mod/go-version/h44z/lightmigrate-mysql)\n![GitHub code size in bytes](https://img.shields.io/github/languages/code-size/h44z/lightmigrate-mysql)\n[![GitHub Release](https://img.shields.io/github/release/h44z/lightmigrate-mysql.svg)](https://github.com/h44z/lightmigrate-mysql/releases)\n\nThis module is part of the [LightMigrate](https://github.com/h44z/lightmigrate) library.\nIt provides a migration driver for MySQL or MariaDB.\n\n## Features\n * Driver work with MySQL or MariaDB. \n * If the database client was initialized with `multiStatements=true`, multiple statements are supported within the migration files.\n * [Examples](./examples)\n\n## Configuration Options\n\nConfiguration options can be passed to the constructor using the `With\u003cConfig-Option\u003e` functions.\n\n| Config Value      | Defaults          | Description                                        |\n|-------------------|-------------------|----------------------------------------------------|\n| `MigrationsTable` | schema_migrations | Name of the migrations table.                      |\n| `Locking`         | true              | If database locking should be used.                |\n| `Logger`          | log.Default()     | The logger instance that should be used.           |\n| `VerboseLogging`  | false             | If set to true, more log messages will be printed. |","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fh44z%2Flightmigrate-mysql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fh44z%2Flightmigrate-mysql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fh44z%2Flightmigrate-mysql/lists"}