/**
  * Run the database seeds.
  *
  * @return void
  */
 public function run()
 {
     Notification::truncate();
     //        Notification::create([
     //            'user_id' => 4,
     //            'message' => 'Jenny has confirmed your project!'
     //        ]);
 }
Exemplo n.º 2
0
 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;
 }