<?php

use Illuminate\Database\Seeder;

class CronJobStatTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        DB::table('cron_job_stats')->insert([
            'name' => 'BULK_SMS',
            'description' => 'Process all pending bulk sms from the system',
            'status' => 'pending',
        ]);

        DB::table('cron_job_stats')->insert([
            'name' => 'BULK_SMS_PERSO',
            'description' => 'Process all pending personalised bulk sms from the system',
            'status' => 'pending',
        ]);

        DB::table('cron_job_stats')->insert([
            'name' => 'SINGLE_SMS',
            'description' => 'Process all pending single sms from the system',
            'status' => 'pending',
        ]);

        DB::table('cron_job_stats')->insert([
            'name' => 'DLR_QUERY',
            'description' => 'Query sms delivery status from kannel database',
            'status' => 'pending',
        ]);

        DB::table('cron_job_stats')->insert([
            'name' => 'DLR_RECEIVER',
            'description' => 'Receive sms delivery status from SMPP',
            'status' => 'pending',
        ]);

        //Added Email
        DB::table('cron_job_stats')->insert([
            'name' => 'BULK_EMAIL',
            'description' => 'Process all pending bulk email from the system',
            'status' => 'pending',
        ]);

        DB::table('cron_job_stats')->insert([
            'name' => 'BULK_EMAIL_PERSO',
            'description' => 'Process all pending personalised bulk email from the system',
            'status' => 'pending',
        ]);

        DB::table('cron_job_stats')->insert([
            'name' => 'SINGLE_EMAIL',
            'description' => 'Process all pending single email from the system',
            'status' => 'pending',
        ]);

        DB::table('cron_job_stats')->insert([
            'name' => 'EMAIL_QUERY',
            'description' => 'Check email delivery status',
            'status' => 'pending',
        ]);

    }
}
