Ejemplo n.º 1
0
 public function run()
 {
     DB::table('transaction_types')->delete();
     TransactionType::create(['type' => 'Withdrawal']);
     TransactionType::create(['type' => 'Deposit']);
     TransactionType::create(['type' => 'Transfer']);
     TransactionType::create(['type' => 'Opening balance']);
 }
 public function run()
 {
     DB::table('transaction_types')->delete();
     TransactionType::create(['type' => TransactionType::WITHDRAWAL]);
     TransactionType::create(['type' => TransactionType::DEPOSIT]);
     TransactionType::create(['type' => TransactionType::TRANSFER]);
     TransactionType::create(['type' => TransactionType::OPENING_BALANCE]);
 }