v3.5.0 - Foreign key checks option
New Feature
--skip-fk-checksoption: Disable foreign key checks during seeding. Useful for tables with FK constraints that would fail on delete/insert operations.
Usage
php artisan iseed users --skip-fk-checksThis generates:
\DB::statement('SET FOREIGN_KEY_CHECKS=0;');
\DB::table('users')->delete();
\DB::table('users')->insert(...);
\DB::statement('SET FOREIGN_KEY_CHECKS=1;');Note: This generates MySQL-specific statements.