esign/laravel-sqlite-disable-drop-foreign

Prevents dropForeign method from being called on sqlite databases

1.0.0 2020-07-28 12:40 UTC

This package is auto-updated.

Last update: 2024-11-06 03:23:26 UTC


README

Prevents dropForeign method from being called on sqlite databases

Installation

You can install the package via composer:

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:

php artisan vendor:publish --provider="Esign\\SQLiteDisableDropForeign\\SQLiteDisableDropForeignServiceProvider"