<?php

namespace Database\Seeders;

use Illuminate\Database\Console\Seeds\WithoutModelEvents;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\File;
use Illuminate\Support\Facades\Storage;
use App\Models\Setting;

class SettingSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run()
    {
        // $modules = [];
        // foreach ($modules as $key => $value) {

        //     $service = [
        //         'name' => $value['name'],
        //         'val' => $value['val'],
        //         'type' => $value['type']
        //     ];
        //     $service = Setting::create($service);
        // }
        $data = (array (
            0 =>
            array (
                'id' => 1,
                'name' => 'movie',
                'val' => '1',
                'type' => 'module_settings',
                'datatype' => NULL,
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 05:27:31',
                'updated_at' => '2024-08-08 05:27:31',
                'deleted_at' => NULL,
            ),
            1 =>
            array (
                'id' => 2,
                'name' => 'tvshow',
                'val' => '1',
                'type' => 'module_settings',
                'datatype' => NULL,
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 05:27:31',
                'updated_at' => '2024-08-08 05:27:31',
                'deleted_at' => NULL,
            ),
            2 =>
            array (
                'id' => 3,
                'name' => 'livetv',
                'val' => '1',
                'type' => 'module_settings',
                'datatype' => NULL,
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 05:27:31',
                'updated_at' => '2024-08-08 05:27:31',
                'deleted_at' => NULL,
            ),
            3 =>
            array (
                'id' => 4,
                'name' => 'video',
                'val' => '1',
                'type' => 'module_settings',
                'datatype' => NULL,
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 05:27:31',
                'updated_at' => '2024-08-08 05:27:31',
                'deleted_at' => NULL,
            ),
            4 =>
            array (
                'id' => 5,
                'name' => 'enable_tmdb_api',
                'val' => '1',
                'type' => 'module_settings',
                'datatype' => NULL,
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 05:27:31',
                'updated_at' => '2024-08-08 05:27:31',
                'deleted_at' => NULL,
            ),
            5 =>
            array (
                'id' => 6,
                'name' => 'app_name',
                'val' => 'Streamit: Your Ultimate Entertainment Hub',
                'type' => 'bussiness',
                'datatype' => 'bussiness',
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:12:31',
                'updated_at' => '2024-08-08 10:12:31',
                'deleted_at' => NULL,
            ),
            6 =>
            array (
                'id' => 7,
                'name' => 'user_app_name',
                'val' => 'Streamit: Your Ultimate Entertainment Hub',
                'type' => 'bussiness',
                'datatype' => 'bussiness',
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:12:31',
                'updated_at' => '2024-08-08 10:12:31',
                'deleted_at' => NULL,
            ),
            7 =>
            array (
                'id' => 8,
                'name' => 'helpline_number',
                'val' => '+15265897485',
                'type' => 'bussiness',
                'datatype' => 'bussiness',
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:12:31',
                'updated_at' => '2024-08-08 10:12:31',
                'deleted_at' => NULL,
            ),
            8 =>
            array (
                'id' => 9,
                'name' => 'inquriy_email',
                'val' => 'hello@iqonic.design',
                'type' => 'bussiness',
                'datatype' => 'bussiness',
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:12:31',
                'updated_at' => '2024-08-08 10:12:31',
                'deleted_at' => NULL,
            ),
            9 =>
            array (
                'id' => 10,
                'name' => 'short_description',
                'val' => 'StreamIt: Your Ultimate Destination for Unlimited Movies and Shows!',
                'type' => 'bussiness',
                'datatype' => 'bussiness',
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:12:31',
                'updated_at' => '2024-08-08 10:12:31',
                'deleted_at' => NULL,
            ),
            10 =>
            array (
                'id' => 11,
                'name' => 'google_analytics',
                'val' => 'Google Analytics',
                'type' => 'text',
                'datatype' => 'misc',
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:31:01',
                'updated_at' => '2024-08-08 10:31:01',
                'deleted_at' => NULL,
            ),
            11 =>
            array (
                'id' => 12,
                'name' => 'default_language',
                'val' => 'en',
                'type' => 'misc',
                'datatype' => 'misc',
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:31:01',
                'updated_at' => '2024-08-08 10:31:01',
                'deleted_at' => NULL,
            ),
            12 =>
            array (
                'id' => 13,
                'name' => 'default_time_zone',
                'val' => 'Asia/Kolkata',
                'type' => 'misc',
                'datatype' => 'misc',
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:31:01',
                'updated_at' => '2024-08-08 10:31:01',
                'deleted_at' => NULL,
            ),
            13 =>
            array (
                'id' => 14,
                'name' => 'disc_type',
                'val' => 'local',
                'type' => 'misc',
                'datatype' => 'misc',
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:31:01',
                'updated_at' => '2024-08-08 10:31:01',
                'deleted_at' => NULL,
            ),
            14 =>
            array (
                'id' => 15,
                'name' => 'cash_payment_method',
                'val' => '1',
                'type' => 'cashpayment',
                'datatype' => NULL,
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:38:37',
                'updated_at' => '2024-08-08 10:38:37',
                'deleted_at' => NULL,
            ),
            15 =>
            array (
                'id' => 16,
                'name' => 'razor_payment_method',
                'val' => '1',
                'type' => 'razorpayPayment',
                'datatype' => NULL,
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:38:37',
                'updated_at' => '2024-08-08 10:38:37',
                'deleted_at' => NULL,
            ),
            16 =>
            array (
                'id' => 17,
                'name' => 'razorpay_secretkey',
                'val' => NULL,
                'type' => 'razor_payment_method',
                'datatype' => NULL,
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:38:37',
                'updated_at' => '2024-08-08 10:38:37',
                'deleted_at' => NULL,
            ),
            17 =>
            array (
                'id' => 18,
                'name' => 'razorpay_publickey',
                'val' => NULL,
                'type' => 'razor_payment_method',
                'datatype' => NULL,
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:38:37',
                'updated_at' => '2024-08-08 10:38:37',
                'deleted_at' => NULL,
            ),
            18 =>
            array (
                'id' => 19,
                'name' => 'str_payment_method',
                'val' => '1',
                'type' => 'stripePayment',
                'datatype' => NULL,
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:38:37',
                'updated_at' => '2024-08-08 10:38:37',
                'deleted_at' => NULL,
            ),
            19 =>
            array (
                'id' => 20,
                'name' => 'stripe_secretkey',
                'val' => NULL,
                'type' => 'str_payment_method',
                'datatype' => NULL,
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:38:37',
                'updated_at' => '2024-08-08 10:38:37',
                'deleted_at' => NULL,
            ),
            20 =>
            array (
                'id' => 21,
                'name' => 'stripe_publickey',
                'val' => NULL,
                'type' => 'str_payment_method',
                'datatype' => NULL,
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:38:37',
                'updated_at' => '2024-08-08 10:38:37',
                'deleted_at' => NULL,
            ),
            21 =>
            array (
                'id' => 22,
                'name' => 'paystack_payment_method',
                'val' => '1',
                'type' => 'paystackPayment',
                'datatype' => NULL,
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:38:37',
                'updated_at' => '2024-08-08 10:38:37',
                'deleted_at' => NULL,
            ),
            22 =>
            array (
                'id' => 23,
                'name' => 'paystack_secretkey',
                'val' => NULL,
                'type' => 'paystack_payment_method',
                'datatype' => NULL,
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:38:37',
                'updated_at' => '2024-08-08 10:38:37',
                'deleted_at' => NULL,
            ),
            23 =>
            array (
                'id' => 24,
                'name' => 'paystack_publickey',
                'val' => NULL,
                'type' => 'paystack_payment_method',
                'datatype' => NULL,
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:38:37',
                'updated_at' => '2024-08-08 10:38:37',
                'deleted_at' => NULL,
            ),
            24 =>
            array (
                'id' => 25,
                'name' => 'paypal_payment_method',
                'val' => '1',
                'type' => 'paypalPayment',
                'datatype' => NULL,
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:38:37',
                'updated_at' => '2024-08-08 10:38:37',
                'deleted_at' => NULL,
            ),
            25 =>
            array (
                'id' => 26,
                'name' => 'paypal_secretkey',
                'val' => NULL,
                'type' => 'paypal_payment_method',
                'datatype' => NULL,
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:38:37',
                'updated_at' => '2024-08-08 10:38:37',
                'deleted_at' => NULL,
            ),
            26 =>
            array (
                'id' => 27,
                'name' => 'paypal_clientid',
                'val' => NULL,
                'type' => 'paypal_payment_method',
                'datatype' => NULL,
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:38:37',
                'updated_at' => '2024-08-08 10:38:37',
                'deleted_at' => NULL,
            ),
            27 =>
            array (
                'id' => 28,
                'name' => 'flutterwave_payment_method',
                'val' => '1',
                'type' => 'flutterwavePayment',
                'datatype' => NULL,
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:38:37',
                'updated_at' => '2024-08-08 10:38:37',
                'deleted_at' => NULL,
            ),
            28 =>
            array (
                'id' => 29,
                'name' => 'flutterwave_secretkey',
                'val' => NULL,
                'type' => 'flutterwave_payment_method',
                'datatype' => NULL,
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:38:37',
                'updated_at' => '2024-08-08 10:38:37',
                'deleted_at' => NULL,
            ),
            29 =>
            array (
                'id' => 30,
                'name' => 'flutterwave_publickey',
                'val' => NULL,
                'type' => 'flutterwave_payment_method',
                'datatype' => NULL,
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:38:37',
                'updated_at' => '2024-08-08 10:38:37',
                'deleted_at' => NULL,
            ),
            30 =>
            array (
                'id' => 31,
                'name' => 'cinet_payment_method',
                'val' => '0',
                'type' => 'paymentcinet',
                'datatype' => NULL,
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:38:37',
                'updated_at' => '2024-08-08 10:38:37',
                'deleted_at' => NULL,
            ),
            31 =>
            array (
                'id' => 32,
                'name' => 'sadad_payment_method',
                'val' => '0',
                'type' => 'paymentsadad',
                'datatype' => NULL,
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:38:37',
                'updated_at' => '2024-08-08 10:38:37',
                'deleted_at' => NULL,
            ),
            32 =>
            array (
                'id' => 33,
                'name' => 'airtel_payment_method',
                'val' => '0',
                'type' => 'airtelpayment',
                'datatype' => NULL,
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:38:37',
                'updated_at' => '2024-08-08 10:38:37',
                'deleted_at' => NULL,
            ),
            33 =>
            array (
                'id' => 34,
                'name' => 'phonepe_payment_method',
                'val' => '0',
                'type' => 'phonepepayment',
                'datatype' => NULL,
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:38:37',
                'updated_at' => '2024-08-08 10:38:37',
                'deleted_at' => NULL,
            ),
            34 =>
            array (
                'id' => 35,
                'name' => 'midtrans_payment_method',
                'val' => '0',
                'type' => 'midtranspayment',
                'datatype' => NULL,
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:38:37',
                'updated_at' => '2024-08-08 10:38:37',
                'deleted_at' => NULL,
            ),
            35 =>
            array (
                'id' => 36,
                'name' => 'local',
                'val' => '1',
                'type' => 'storage_settings',
                'datatype' => 'storageconfig',
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:38:37',
                'updated_at' => '2024-08-08 10:38:37',
                'deleted_at' => NULL,
            ),
            36 =>
            array (
                'id' => 37,
                'name' => 's3',
                'val' => '0',
                'type' => 'storage_settings',
                'datatype' => 'storageconfig',
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:38:37',
                'updated_at' => '2024-08-08 10:38:37',
                'deleted_at' => NULL,
            ),
            37 =>
            array (
                'id' => 38,
                'name' => 'aws_access_key',
                'val' => null,
                'type' => 'storage_settings',
                'datatype' => 'storageconfig',
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:38:37',
                'updated_at' => '2024-08-08 10:38:37',
                'deleted_at' => NULL,
            ),
            38 =>
            array (
                'id' => 39,
                'name' => 'aws_secret_key',
                'val' => null,
                'type' => 'storage_settings',
                'datatype' => 'storageconfig',
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:38:37',
                'updated_at' => '2024-08-08 10:38:37',
                'deleted_at' => NULL,
            ),
            39 =>
            array (
                'id' => 40,
                'name' => 'aws_region',
                'val' => null,
                'type' => 'storage_settings',
                'datatype' => 'storageconfig',
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:38:37',
                'updated_at' => '2024-08-08 10:38:37',
                'deleted_at' => NULL,
            ),
            40 =>
            array (
                'id' => 41,
                'name' => 'aws_bucket',
                'val' => null,
                'type' => 'storage_settings',
                'datatype' => 'storageconfig',
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:38:37',
                'updated_at' => '2024-08-08 10:38:37',
                'deleted_at' => NULL,
            ),
            41 =>
            array (
                'id' => 42,
                'name' => 'aws_path_style',
                'val' => 'false',
                'type' => 'storage_settings',
                'datatype' => 'storageconfig',
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:38:37',
                'updated_at' => '2024-08-08 10:38:37',
                'deleted_at' => NULL,
            ),

            41 =>
            array (
                'id' => 42,
                'name' => 'tmdb_api_key',
                'val' => NULL,
                'type' => 'module_settings',
                'datatype' => NULL,
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:38:37',
                'updated_at' => '2024-08-08 10:38:37',
                'deleted_at' => NULL,
            ),

            42 =>
            array (
                'id' => 43,
                'name' => 'is_social_login',
                'val' => '1',
                'type' => 'appconfig',
                'datatype' => NULL,
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:38:37',
                'updated_at' => '2024-08-08 10:38:37',
                'deleted_at' => NULL,
            ),
            43 =>
            array (
                'id' => 44,
                'name' => 'is_google_login',
                'val' => '1',
                'type' => 'appconfig',
                'datatype' => NULL,
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:38:37',
                'updated_at' => '2024-08-08 10:38:37',
                'deleted_at' => NULL,
            ),
            44 =>
            array (
                'id' => 45,
                'name' => 'is_otp_login',
                'val' => '1',
                'type' => 'appconfig',
                'datatype' => NULL,
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:38:37',
                'updated_at' => '2024-08-08 10:38:37',
                'deleted_at' => NULL,
            ),
            45 =>
            array (
                'id' => 46,
                'name' => 'is_apple_login',
                'val' => '1',
                'type' => 'appconfig',
                'datatype' => NULL,
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:38:37',
                'updated_at' => '2024-08-08 10:38:37',
                'deleted_at' => NULL,
            ),
            46 =>
            array (
                'id' => 47,
                'name' => 'is_firebase_notification',
                'val' => '1',
                'type' => 'appconfig',
                'datatype' => NULL,
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:38:37',
                'updated_at' => '2024-08-08 10:38:37',
                'deleted_at' => NULL,
            ),
            47 =>
            array (
                'id' => 48,
                'name' => 'firebase_key',
                'val' => 'streamit-laravel-flutter',
                'type' => 'appconfig',
                'datatype' => NULL,
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:38:37',
                'updated_at' => '2024-08-08 10:38:37',
                'deleted_at' => NULL,
            ),
            48 =>
            array (
                'id' => 49,
                'name' => 'is_user_push_notification',
                'val' => '1',
                'type' => 'appconfig',
                'datatype' => NULL,
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:38:37',
                'updated_at' => '2024-08-08 10:38:37',
                'deleted_at' => NULL,
            ),
            49 =>
            array (
                'id' => 50,
                'name' => 'is_application_link',
                'val' => '1',
                'type' => 'appconfig',
                'datatype' => NULL,
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:38:37',
                'updated_at' => '2024-08-08 10:38:37',
                'deleted_at' => NULL,
            ),
            50 =>
            array (
                'id' => 51,
                'name' => 'ios_url',
                'val' => null,
                'type' => 'appconfig',
                'datatype' => NULL,
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:38:37',
                'updated_at' => '2024-08-08 10:38:37',
                'deleted_at' => NULL,
            ),
            51 =>
            array (
                'id' => 52,
                'name' => 'android_url',
                'val' => 'https://play.google.com/store/apps/details?id=com.iqonic.streamitlaravel&pcampaignid=web_share',
                'type' => 'appconfig',
                'datatype' => NULL,
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:38:37',
                'updated_at' => '2024-08-08 10:38:37',
                'deleted_at' => NULL,
            ),
            52 =>
            array (
                'id' => 53,
                'name' => 'force_update',
                'val' => '0',
                'type' => 'appconfig',
                'datatype' => NULL,
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:38:37',
                'updated_at' => '2024-08-08 10:38:37',
                'deleted_at' => NULL,
            ),
            53 =>
            array (
                'id' => 54,
                'name' => 'app_version',
                'val' => null,
                'type' => 'appconfig',
                'datatype' => NULL,
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:38:37',
                'updated_at' => '2024-08-08 10:38:37',
                'deleted_at' => NULL,
            ),
            54 =>
            array (
                'id' => 55,
                'name' => 'is_ChatGPT_integration',
                'val' => '1',
                'type' => 'appconfig',
                'datatype' => NULL,
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:38:37',
                'updated_at' => '2024-08-08 10:38:37',
                'deleted_at' => NULL,
            ),
            55 =>
            array (
                'id' => 56,
                'name' => 'ChatGPT_key',
                'val' => NULL,
                'type' => 'appconfig',
                'datatype' => NULL,
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:38:37',
                'updated_at' => '2024-08-08 10:38:37',
                'deleted_at' => NULL,
            ),
            56 =>
            array (
                'id' => 57,
                'name' => 'google_client_id',
                'val' => NULL,
                'type' => 'appconfig',
                'datatype' => NULL,
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:38:37',
                'updated_at' => '2024-08-08 10:38:37',
                'deleted_at' => NULL,
            ),
            57 =>
            array (
                'id' => 58,
                'name' => 'google_client_secret',
                'val' => NULL,
                'type' => 'appconfig',
                'datatype' => NULL,
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:38:37',
                'updated_at' => '2024-08-08 10:38:37',
                'deleted_at' => NULL,
            ),
            58 =>
            array (
                'id' => 59,
                'name' => 'google_redirect_uri',
                'val' => NULL,
                'type' => 'appconfig',
                'datatype' => NULL,
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:38:37',
                'updated_at' => '2024-08-08 10:38:37',
                'deleted_at' => NULL,
            ),
            59 =>
            array (
                'id' => 60,
                'name' => 'apiKey',
                'val' =>  NULL,
                'type' => 'appconfig',
                'datatype' => NULL,
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:38:37',
                'updated_at' => '2024-08-08 10:38:37',
                'deleted_at' => NULL,
            ),
            60 =>
            array (
                'id' => 61,
                'name' => 'authDomain',
                'val' => 'streamit-laravel-flutter.firebaseapp.com',
                'type' => 'appconfig',
                'datatype' => NULL,
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:38:37',
                'updated_at' => '2024-08-08 10:38:37',
                'deleted_at' => NULL,
            ),
            61 =>
            array (
                'id' => 62,
                'name' => 'databaseURL',
                'val' => 'https://streamit-laravel-flutter-default-rtdb.asia-southeast1.firebasedatabase.app',
                'type' => 'appconfig',
                'datatype' => NULL,
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:38:37',
                'updated_at' => '2024-08-08 10:38:37',
                'deleted_at' => NULL,
            ),
            62 =>
            array (
                'id' => 63,
                'name' => 'projectId',
                'val' => 'streamit-laravel-flutter',
                'type' => 'appconfig',
                'datatype' => NULL,
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:38:37',
                'updated_at' => '2024-08-08 10:38:37',
                'deleted_at' => NULL,
            ),
            63 =>
            array (
                'id' => 64,
                'name' => 'storageBucket',
                'val' => 'streamit-laravel-flutter.appspot.com',
                'type' => 'appconfig',
                'datatype' => NULL,
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:38:37',
                'updated_at' => '2024-08-08 10:38:37',
                'deleted_at' => NULL,
            ),
            64 =>
            array (
                'id' => 65,
                'name' => 'messagingSenderId',
                'val' => '215579898202',
                'type' => 'appconfig',
                'datatype' => NULL,
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:38:37',
                'updated_at' => '2024-08-08 10:38:37',
                'deleted_at' => NULL,
            ),
            65 =>
            array (
                'id' => 66,
                'name' => 'appId',
                'val' => '1:215579898202:web:0f25cc0b276ee1c2e24363',
                'type' => 'appconfig',
                'datatype' => NULL,
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:38:37',
                'updated_at' => '2024-08-08 10:38:37',
                'deleted_at' => NULL,
            ),
            66 =>
            array (
                'id' => 67,
                'name' => 'measurementId',
                'val' => 'G-V6YW8LYZ2G',
                'type' => 'appconfig',
                'datatype' => NULL,
                'created_by' => 2,
                'updated_by' => 2,
                'deleted_by' => NULL,
                'created_at' => '2024-08-08 10:38:37',
                'updated_at' => '2024-08-08 10:38:37',
                'deleted_at' => NULL,
            ),


        ));
        foreach ($data as $setting) {
            $service = Setting::create($setting);
        }
        $sourceFilePath = base_path('public/dummy-images/json-file/streamit-laravel-flutter-firebase-adminsdk-czzah-2c84a7b029.json');
        $destinationPath = storage_path('app/data/streamit-laravel-flutter-firebase-adminsdk-czzah-2c84a7b029.json');

        // Check if the file exists in the source location
        if (File::exists($sourceFilePath)) {
            // Ensure the destination directory exists
            if (!File::isDirectory(storage_path('app/data'))) {
                File::makeDirectory(storage_path('app/data'), 0755, true);
            }

            // Copy the file to the destination directory
            File::copy($sourceFilePath, $destinationPath);
            $this->command->info('Firebase JSON file has been copied successfully.');
        } else {
            $this->command->error('Firebase JSON file not found at ' . $sourceFilePath);
        }
    }
}
