Skip to content

Instantly share code, notes, and snippets.

//Remove contracts by ID
CustomContracts.find().fetch();
CustomContracts.remove("_CONTRACT_ID_");
//Remove tokens by ID
Tokens.find().fetch();
Tokens.remove("_TOKEN_ID_");
//Remove all contracts
CustomContracts.find().fetch().map(
@krogla
krogla / QueueRetryAllCommand.php
Created November 14, 2017 13:01 — forked from JacobBennett/QueueRetryAllCommand.php
Laravel Queue:Retry-Multiple and Queue:Retry-All
<?php
namespace App\Console\Commands;
use Illuminate\Console\Command;
class RetryAllCommand extends Command
{
/**
* The name and signature of the console command.
0xdEd06033526BA77D5eDBBaab141D2ab4bb0e1409