Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jjsty1e/mysqldiff
https://github.com/jjsty1e/mysqldiff
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/jjsty1e/mysqldiff
- Owner: jjsty1e
- Created: 2020-07-09T02:17:49.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-07-09T03:12:35.000Z (over 4 years ago)
- Last Synced: 2024-04-09T18:07:00.297Z (7 months ago)
- Language: PHP
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```