Nayjest / db-diff by nayjest

Database diff tool for Laravel & MySQL
3,196
8
4
Package Data
Maintainer Username: nayjest
Maintainer Contact: v.stepanenko@globo-tech.com (Vitalii [Nayjest] Stepanenko)
Package Create Date: 2014-09-25
Package Last Update: 2015-02-23
Home Page:
Language: PHP
License: MIT
Last Refreshed: 2024-11-19 03:12:01
Package Statistics
Total Downloads: 3,196
Monthly Downloads: 2
Daily Downloads: 0
Total Stars: 8
Total Watchers: 4
Total Forks: 0
Total Open Issues: 0

db-diff

Database diff tool for Laravel & MySQL

Overview

This package allows to compare data in tables with same structure & save results to database in format convenient for further processing.

Actions

| Default URL | Description | |-----------------------|-------------------------------------------| | /admin/diff/index | Form for making diff | | /admin/diff/show[id] | View diff results | | /admin/diff/list | Archive of performad diff operations |

Commands

db-diff:make

Supported options

| Name | Shortcut | Description | |----------------------|----------|-------------------------------------------| |table1 | a | Table to compare | |table2 | b | Table to compare | |fields | f | Fields that must be compared (without pk) |

Configuration options

See vendor/nayjest/db-diff/src/config/config.php

| Key | Type | Description | |----------------------|-------------|---------------------------------------------------------------------------------| | db | string | Database for storing diff results (your app's current db by default) | | ignored_db | string[] | Databases that you will never use for diff operations, usually some system db's |

License

© 2014 — 2015 Vitalii Stepanenko

Licensed under the MIT License.