/dbcheck

Adds a db:check command to a laravel instance, which checks for invalid foreign keys

Primary LanguagePHPMIT LicenseMIT

db:check (analyze invalid foreign keys)

Latest Stable Version Total Downloads Latest Unstable Version License

This package adds a db:check command to a laravel instance, which checks for invalid foreign keys in the database (mysql). It implements this stored procedure.

Install

Via Composer

$ composer require 'ottosmops/dbcheck:1.*'

Add Ottosmops\Dbcheck\DbcheckServiceProvider::class, to the providers-array in config/app.php.

Usage

php artisan db:check 

License

The MIT License (MIT). Please see License File for more information.