tung/export-migration 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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.

Minimum PHP Version

Usage

  • Install package:
composer require tung/export-migration
  • Create file export-migration.txt in the top-most directory of your project.

  • Copy text format from dbdiagram and paste into export-migration.txt:

    image

  • Finally, running ./vendor/bin/phptung and files are created in database/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
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2022-08-28