psa/cakephp-fixture-check

Plugin to compare fixtures with live DB tables

1.0.0-rc1 2020-02-12 15:31 UTC

This package is auto-updated.

Last update: 2024-04-11 07:59:47 UTC


README

A shell that will compare fixtures against live DB tables to make it easy to spot differences.

Requirements

  • CakePHP ^3.4

Installation

composer require --dev psa/cakephp-fixture-check

And in your bootstrap.php (or better yet bootstrap_cli.php):

Plugin::load('Psa/FixtureCheck');

Usage

bin/cake FixtureCheck

To run for specific fixtures and tables, use

bin/cake FixtureCheck -f Fixture1,Fixture2

License

Copyright 2015 - 2016 PSA Publishers

Licensed under the MIT License. Redistributions of the source code included in this repository must retain the copyright notice found in each file.