tung/export-migration
最新稳定版本:v1.1.0
Composer 安装命令:
composer require tung/export-migration
包简介
Tool for exporting db-diagram to migration file
README 文档
README
Convert file txt from dbdiagram to migration file. Made in Viet Nam with love.
Usage
- Install package:
composer require tung/export-migration
-
Create file
export-migration.txtin the top-most directory of your project. -
Copy text format from dbdiagram and paste into
export-migration.txt: -
Finally, running
./vendor/bin/phptungand files are created indatabase/migrations.
Set up Docker for dev
- Build image:
docker build -f ./docker/Dockerfile -t convert_migration .
- Run container:
docker run -v $(pwd):/var/www/html -p 8000:8000 --name convert convert_migration
统计信息
- 总下载量: 69
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-08-28
