https://github.com/esign/laravel-sqlite-disable-drop-foreign
Prevents dropForeign method from being called on sqlite databases
https://github.com/esign/laravel-sqlite-disable-drop-foreign
Last synced: 5 months ago
JSON representation
Prevents dropForeign method from being called on sqlite databases
- Host: GitHub
- URL: https://github.com/esign/laravel-sqlite-disable-drop-foreign
- Owner: esign
- Created: 2020-07-28T12:38:52.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-28T12:42:59.000Z (almost 6 years ago)
- Last Synced: 2025-11-27T14:56:46.211Z (7 months ago)
- Language: PHP
- Size: 1.95 KB
- Stars: 1
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Laravel SQLite Disable Drop Foreign
Prevents dropForeign method from being called on sqlite databases
## Installation
You can install the package via composer:
```bash
composer require esign/laravel-sqlite-disable-drop-foreign
```
## Usage
If you want to define the database connections on which the dropForeign method should be skipped, you could publish the config file:
```bash
php artisan vendor:publish --provider="Esign\\SQLiteDisableDropForeign\\SQLiteDisableDropForeignServiceProvider"
```