<?php

namespace Database\Seeders;

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;

class admin extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    
    public function run()
    {
        // Insert data into the table
        DB::table('admin')->insert([
            'name' => 'admin',
	    'email' => 'admin@gmail.com',
            'password' => '$2y$10$iX9eSy4h6KXhkr7Ff7TgoeZfJHbpBhcFa565w5AoaFWHUCvtHVuLe',
            // Add more columns and values as needed
        ]);
		
		
		DB::table('whatsapp_msg')->insert([
            'message' => 'Thanks for visiting.'
        ]);
		
		
		 DB::table('oauth_clients')->insert([
             [
                'id' => 0,
                'user_id' => null,
                'name' => 'Laravel Personal Access Client',
                'secret' => 'Yf2V93fEol2PZk6a0lQnyOG3lVP5TUSRxZZcvTby',
                'provider' => null,
                'redirect' => 'http://localhost',
                'personal_access_client' => 1,
                'password_client' => 0,
                'revoked' => 0,
                'created_at' => '2023-07-12 14:59:45',
                'updated_at' => '2023-07-12 14:59:45',
            ],
            [
                'id' => 0,
                'user_id' => null,
                'name' => 'Laravel Password Grant Client',
                'secret' => '9bcd0grV1zAr592SmBmhnZT42tgAOoywuclUTFSa',
                'provider' => 'users',
                'redirect' => 'http://localhost',
                'personal_access_client' => 0,
                'password_client' => 1,
                'revoked' => 0,
                'created_at' => '2023-07-12 14:59:45',
                'updated_at' => '2023-07-12 14:59:45',
            ],
            [
                'id' => 0,
                'user_id' => null,
                'name' => 'FrenzinCRM Personal Access Client',
                'secret' => 'tIOjYWzz18rusB2OxGcg9IKtkQT4GnZQRdB97Rxi',
                'provider' => null,
                'redirect' => 'http://localhost',
                'personal_access_client' => 1,
                'password_client' => 0,
                'revoked' => 0,
                'created_at' => '2024-01-12 16:50:00',
                'updated_at' => '2024-01-12 16:50:00',
            ],
            [
                'id' => 0,
                'user_id' => null,
                'name' => 'FrenzinCRM Password Grant Client',
                'secret' => 'kIPr7cGlurOM3gs3ff4c9fbdpNqXYirEQoiZHbcI',
                'provider' => 'users',
                'redirect' => 'http://localhost',
                'personal_access_client' => 0,
                'password_client' => 1,
                'revoked' => 0,
                'created_at' => '2024-01-12 16:50:00',
                'updated_at' => '2024-01-12 16:50:00',
            ],
        ]);
    }

}
