Nayjest / db-diff by nayjest

Database diff tool for Laravel & MySQL
3,020
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-04-23 03:02:42
Package Statistics
Total Downloads: 3,020
Monthly Downloads: 23
Daily Downloads: 1
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.