laravel add logic to delet eloquent fnction code example
Example: larave Soft Deletes
Schema::table('flights', function (Blueprint $table) {
$table->softDeletes();
});
Schema::table('flights', function (Blueprint $table) {
$table->softDeletes();
});