<?php

namespace Database\Seeders;

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

class SubscriptionPreferencesTableSeeder extends Seeder
{
    /**
     * Auto generated seed file
     *
     * @return void
     */
    public function run()
    {
        echo 'Seeding subscription_preferences...'.PHP_EOL;

        DB::table('subscription_preferences')->delete();

        DB::table('subscription_preferences')->insert(array(
            0 => array(
                'id' => '1',
                'item_id' => '2',
                'item_size_id' => null,
                'is_allowed' => '0',
                'is_required' => '0',
                'can_be_paused' => '1',
                'max_number_of_issues' => '99',
                'interval_multiplier' => '1',
                'interval' => 'months',
                'created_at' => '2022-12-21 16:25:14',
                'updated_at' => '2022-12-21 16:25:14',
            ),
            1 => array(
                'id' => '2',
                'item_id' => '3',
                'item_size_id' => null,
                'is_allowed' => '0',
                'is_required' => '0',
                'can_be_paused' => '1',
                'max_number_of_issues' => '99',
                'interval_multiplier' => '1',
                'interval' => 'months',
                'created_at' => '2023-09-20 17:09:47',
                'updated_at' => '2023-09-20 17:09:47',
            ),
            2 => array(
                'id' => '3',
                'item_id' => '3',
                'item_size_id' => '1',
                'is_allowed' => '0',
                'is_required' => '0',
                'can_be_paused' => '1',
                'max_number_of_issues' => '99',
                'interval_multiplier' => '1',
                'interval' => 'months',
                'created_at' => '2023-09-20 17:10:34',
                'updated_at' => '2023-09-20 17:10:34',
            ),
            3 => array(
                'id' => '4',
                'item_id' => '4',
                'item_size_id' => null,
                'is_allowed' => '0',
                'is_required' => '0',
                'can_be_paused' => '1',
                'max_number_of_issues' => '99',
                'interval_multiplier' => '1',
                'interval' => 'months',
                'created_at' => '2023-09-20 17:21:32',
                'updated_at' => '2023-09-20 17:21:32',
            ),
            4 => array(
                'id' => '5',
                'item_id' => '5',
                'item_size_id' => null,
                'is_allowed' => '0',
                'is_required' => '0',
                'can_be_paused' => '1',
                'max_number_of_issues' => '99',
                'interval_multiplier' => '1',
                'interval' => 'months',
                'created_at' => '2023-09-20 17:28:02',
                'updated_at' => '2023-09-20 17:28:02',
            ),
            5 => array(
                'id' => '6',
                'item_id' => '6',
                'item_size_id' => null,
                'is_allowed' => '0',
                'is_required' => '0',
                'can_be_paused' => '1',
                'max_number_of_issues' => '99',
                'interval_multiplier' => '1',
                'interval' => 'months',
                'created_at' => '2023-09-20 17:28:46',
                'updated_at' => '2023-09-20 17:28:46',
            ),
            6 => array(
                'id' => '7',
                'item_id' => '7',
                'item_size_id' => null,
                'is_allowed' => '0',
                'is_required' => '0',
                'can_be_paused' => '1',
                'max_number_of_issues' => '99',
                'interval_multiplier' => '1',
                'interval' => 'months',
                'created_at' => '2023-09-20 17:31:19',
                'updated_at' => '2023-09-20 17:31:19',
            ),
            7 => array(
                'id' => '8',
                'item_id' => '8',
                'item_size_id' => null,
                'is_allowed' => '0',
                'is_required' => '0',
                'can_be_paused' => '1',
                'max_number_of_issues' => '99',
                'interval_multiplier' => '1',
                'interval' => 'months',
                'created_at' => '2023-09-21 09:11:42',
                'updated_at' => '2023-09-21 09:11:42',
            ),
            8 => array(
                'id' => '9',
                'item_id' => '8',
                'item_size_id' => '2',
                'is_allowed' => '0',
                'is_required' => '0',
                'can_be_paused' => '1',
                'max_number_of_issues' => '99',
                'interval_multiplier' => '1',
                'interval' => 'months',
                'created_at' => '2023-09-21 09:22:04',
                'updated_at' => '2023-09-21 09:22:04',
            ),
            9 => array(
                'id' => '10',
                'item_id' => '8',
                'item_size_id' => '3',
                'is_allowed' => '0',
                'is_required' => '0',
                'can_be_paused' => '1',
                'max_number_of_issues' => '99',
                'interval_multiplier' => '1',
                'interval' => 'months',
                'created_at' => '2023-09-21 09:22:04',
                'updated_at' => '2023-09-21 09:22:04',
            ),
            10 => array(
                'id' => '11',
                'item_id' => '8',
                'item_size_id' => '4',
                'is_allowed' => '0',
                'is_required' => '0',
                'can_be_paused' => '1',
                'max_number_of_issues' => '99',
                'interval_multiplier' => '1',
                'interval' => 'months',
                'created_at' => '2023-09-21 09:22:04',
                'updated_at' => '2023-09-21 09:22:04',
            ),
            11 => array(
                'id' => '12',
                'item_id' => '8',
                'item_size_id' => '5',
                'is_allowed' => '0',
                'is_required' => '0',
                'can_be_paused' => '1',
                'max_number_of_issues' => '99',
                'interval_multiplier' => '1',
                'interval' => 'months',
                'created_at' => '2023-09-21 09:24:36',
                'updated_at' => '2023-09-21 09:24:36',
            ),
            12 => array(
                'id' => '13',
                'item_id' => '11',
                'item_size_id' => null,
                'is_allowed' => '0',
                'is_required' => '0',
                'can_be_paused' => '1',
                'max_number_of_issues' => '99',
                'interval_multiplier' => '1',
                'interval' => 'months',
                'created_at' => '2023-09-22 12:32:13',
                'updated_at' => '2023-09-22 12:32:13',
            ),
        ));
    }
}
