Your IP : 216.73.216.93


Current Path : /home/users/unlimited/www/whatsapp-crm/database/seeders/
Upload File :
Current File : /home/users/unlimited/www/whatsapp-crm/database/seeders/PaymentGatewaysTableSeeder.php

<?php

namespace Database\Seeders;

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

class PaymentGatewaysTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        // Define the data to be seeded
        $gateways = [
            [
                'name' => 'Paypal',
                'metadata' => NULL,
                'is_active' => 0,
                'created_at' => Carbon::now(),
                'updated_at' => Carbon::now(),
            ],
            [
                'name' => 'Stripe',
                'metadata' => NULL,
                'is_active' => 0,
                'created_at' => Carbon::now(),
                'updated_at' => Carbon::now(),
            ],
            [
                'name' => 'Flutterwave',
                'metadata' => NULL,
                'is_active' => 0,
                'created_at' => Carbon::now(),
                'updated_at' => Carbon::now(),
            ],
        ];

        // Insert data into the payment_gateways table
        DB::table('payment_gateways')->insert($gateways);
    }
}