<?php
use Illuminate\Database\Seeder;
use Ramsey\Uuid\Uuid;
class MerchantAccountsTableSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
// DB::table('merchant_accounts')->insert([
// '0' => [
// 'endereco' => 'Baixa 25 de setembro nr 345',
// 'name' => 'Loja das Damas',
// 'account_number' => 147177850,
// 'user_id' => 1,
// 'balance' => 0,
// 'qrcode' => null,
// 'telefone_comerciante' => '845030902',
// 'telefone_loja' => '821475145',
// 'nome_comerciante' => 'Vitor Rodrigues',
// 'imali_account_id' => 1,
// 'estado' => 'activo',
// 'estado_color' => '#388E3C',
// 'ramo_activity_id' => 1,
// 'created_at' => now(),
// 'updated_at' => now()
// ]
// ]);
DB::table('admins')->insert([
'0' => [
'name' => 'Paytek Africa',
'last_name' => 'Admin',
'email' => 'admin@paytek-africa.com',
'password' => Hash::make('$Paytek_2021*'),
'user_id' => Uuid::uuid4() . str_replace('-', '', ''),
'phone' => '846002000',
'created_at' => now(),
'updated_at' => now()
],
]);
}
}