db:check (analyze invalid foreign keys)
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.