private function truncate() { User::truncate(); Savings::truncate(); Budget::truncate(); Account::truncate(); Transaction::truncate(); FavouriteTransaction::truncate(); SavedFilter::truncate(); DB::table('budgets_favourite_transactions')->truncate(); DB::table('budgets_transactions')->truncate(); }
protected function clearDatabasesForScenario() { \App\Models\Block::truncate(); \App\Models\Transaction::truncate(); \App\Models\Notification::truncate(); \App\Models\MonitoredAddress::truncate(); \App\Models\PaymentAddress::truncate(); \App\Models\Send::truncate(); \App\Models\User::truncate(); \App\Models\Account::truncate(); \App\Models\APICall::truncate(); \App\Models\LedgerEntry::truncate(); return; }