Prevents dropForeign method from being called on sqlite databases
esign/laravel-sqlite-disable-drop-foreign is a Laravel package for prevents dropforeign method from being called on sqlite databases.
It currently has 1 GitHub stars and 36 downloads on Packagist (latest version 1.0.0).
Install it with composer require esign/laravel-sqlite-disable-drop-foreign.
Discover more Laravel packages by esign
or browse all Laravel packages to compare alternatives.
Last updated
Prevents dropForeign method from being called on sqlite databases
You can install the package via composer:
composer require esign/laravel-sqlite-disable-drop-foreign
If you want to define the database connections on which the dropForeign method should be skipped, you could publish the config file:
php artisan vendor:publish --provider="Esign\\SQLiteDisableDropForeign\\SQLiteDisableDropForeignServiceProvider"