Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jjsty1e/mysqldiff


https://github.com/jjsty1e/mysqldiff

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

# MysqlDiff

diff mysql db structure and generate laravel migrations

## 安装

```
composer global require jaggle/mysqldiff
```

> [如何运行composer安装的可执行脚本?](docs/how-to-run-composer-bin-scripts.md)

## 使用

初始化配置文件:

```bash
msyqldiff --init
```

修改配置文件,填写连接信息:

```bash
vim ~/.mysqldiff/config.json
```

开始diff:

```bash
myqldiff
```