My Snippets
Search Engine
Light Mode
Ad
disable foreign key constraints
this code snippet will disable foreign key constraints checks on migration down method. just use this snippet on migration down method to disable foreign key constraint
decayingMind
php
7 months ago
52 B
3
Indexable
Never
<?php Schema::disableForeignKeyConstraints(); ?>
Ad