Skip to content

esign/laravel-sqlite-disable-drop-foreign

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Laravel SQLite Disable Drop Foreign

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"

About

Prevents dropForeign method from being called on sqlite databases

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages