Add a fluent dropForeign when using sqlite database
ncaroyannis/laravel-sqlite-fluent-drop-foreign is a Laravel package for add a fluent dropforeign when using sqlite database.
It currently has 0 GitHub stars and 581 downloads on Packagist.
Install it with composer require ncaroyannis/laravel-sqlite-fluent-drop-foreign.
Discover more Laravel packages by ncaroyannis
or browse all Laravel packages to compare alternatives.
Last updated
Make dropForeign fluent when using an SQLite database.
Require this package with composer:
composer require exolnet/laravel-sqlite-fluent-drop-foreign
If you don't use package auto-discovery, add the service provider to the providers array in config/app.php:
Exolnet\SQLiteFluentDropForeign\SQLiteFluentDropForeignServiceProvider::class
After the package is installed, all the call to dropForeign on a sqlite connection will return a new Fluent() in
order to avoid getting the SQLite doesn't support dropping foreign keys (you would need to re-create the table).
error.
To run the phpUnit tests, please use:
composer test
Please see CONTRIBUTING and CODE OF CONDUCT for details.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
This code is licensed under the MIT license. Please see the license file for more information.