exolnet/laravel-sqlite-fluent-drop-foreign
laravel-sqlite-fluent-drop-foreign
Make dropForeign fluent when using an SQLite database.
Installation
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
Usage
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.
Testing
To run the phpUnit tests, please use:
composer test
Contributing
Please see CONTRIBUTING and CODE OF CONDUCT for details.
Security
If you discover any security related issues, please email security@exolnet.com instead of using the issue tracker.
Credits
License
Copyright © eXolnet. All rights reserved.
This code is licensed under the MIT license. Please see the license file for more information.
Related Packages
Expend laravel-backup by adding a simple command to backup a database.
Automated deployment template for Laravel Envoy based on Capistrano.
Version History
| Version | Released | PHP | Laravel | License |
|---|---|---|---|---|
| v1.12.0 | ^8.3 | ^12.0| | MIT | |
| v1.11.0 | ^8.2 | ^11.0| | MIT | |
| v1.10.0 | ^8.2 | ^11.0| | MIT | |
| v1.9.0 | ^8.2 | ^11.0| | MIT | |
| v1.8.0 | ^8.1 | ^10.0| | MIT | |
| v1.7.0 | ^8.0 | ^9.0| | MIT | |
| v1.6.0 | ^8.0 | ^8.0| | MIT | |
| v1.5.0 | ^7.3| | ^8.0| | MIT | |
| v1.4.0 | ^7.3| | ^6.0| | MIT | |
| v1.3.0 | ^7.3| | ^6.0| | MIT | |
| v1.2.1 | ^7.2 | ^6.0| | MIT | |
| v1.2.0 | ^7.2 | ^6.0| | MIT | |
| v1.1.0 | ^7.2 | ^6.0| | MIT | |
| v1.0.0 | ^7.2 | ^6.0 | MIT |