定制 mtcmedia/db-diff 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

mtcmedia/db-diff

最新稳定版本:v1.0.0

Composer 安装命令:

composer require mtcmedia/db-diff

包简介

Database diff tool for comparing schemas

README 文档

README

This tool is a database schema comparison tool within Laravel. It is meant to be used to compare schemas for tables or table columns between two similar databases.

Tool is primarily tested on MySql however should work on other schemas as well.

Installation & Usage

Install package using composer

composer require mtcmedia/db-diff

Laravel auto-registers module and its commands so no other installation steps required.

Package offers following commands

php artisan db-diff:list-tables 

php artisan db-diff:list-columns 

The list tables command will compare table names only and list any missing tables on your local (default) database.

The list columns command will compare all columns in tables and list missing columns (or full tables with all columns) in both directions

Database selection uses config/database.php to list connections that can be used for comparison.

Contributing

Please see CONTRIBUTING for details.

Security

If you discover any security-related issues, please email opensource@mtcmedia.co.uk instead of using the issue tracker.

License

The package is provided under MIT License. Please see License File for more information.

统计信息

  • 总下载量: 20
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-01-19