<?php

namespace Database\Seeders;

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

class AssessmentQuestionsTableSeeder extends Seeder
{

    /**
     * Auto generated seed file
     *
     * @return void
     */
    public function run()
    {
        echo 'Seeding assessment_questions...' . PHP_EOL;

        DB::table('assessment_questions')->delete();
        
        DB::table('assessment_questions')->insert(array (
            0 => 
            array (
                'id' => '6',
                'magento_question_id' => NULL,
                'old_id' => '0',
                'form_id' => '5',
                'question_type' => 'section',
                'question_text' => '<p>About You</p>',
                'variations' => '',
                'clearall_answer' => '',
                'is_multiple' => '0',
                'block_if' => '',
                'alert_if' => '',
                'okay_if' => '',
                'cant_proceed_if' => '',
                'show_if_question' => '0',
                'show_if_answer' => '',
                'answer_expires_after_days' => '0',
                'is_required' => '0',
                'is_active' => '1',
                'sort' => '0',
                'created_at' => '2023-10-11 12:08:20',
                'updated_at' => '2023-10-11 14:17:30',
                'deleted_at' => NULL,
                'settings' => '',
            ),
            1 => 
            array (
                'id' => '7',
                'magento_question_id' => NULL,
                'old_id' => '0',
                'form_id' => '5',
                'question_type' => 'yes_no',
                'question_text' => '<p>Are you over the age of 18 years old?</p>',
                'variations' => '',
                'clearall_answer' => '',
                'is_multiple' => '0',
                'block_if' => '',
                'alert_if' => '',
                'okay_if' => '',
                'cant_proceed_if' => '"No"',
                'show_if_question' => '0',
                'show_if_answer' => '',
                'answer_expires_after_days' => '0',
                'is_required' => '1',
                'is_active' => '1',
                'sort' => '1',
                'created_at' => '2023-10-11 12:08:43',
                'updated_at' => '2023-10-11 14:17:30',
                'deleted_at' => NULL,
                'settings' => '',
            ),
            2 => 
            array (
                'id' => '8',
                'magento_question_id' => NULL,
                'old_id' => '0',
                'form_id' => '5',
                'question_type' => 'alert',
                'question_text' => '<p>Sorry, we cannot provide you with any treatments for this condition.</p>',
                'variations' => '',
                'clearall_answer' => '',
                'is_multiple' => '0',
                'block_if' => '',
                'alert_if' => '',
                'okay_if' => '',
                'cant_proceed_if' => '',
                'show_if_question' => '7',
                'show_if_answer' => 'No',
                'answer_expires_after_days' => '0',
                'is_required' => '0',
                'is_active' => '1',
                'sort' => '2',
                'created_at' => '2023-10-11 12:09:17',
                'updated_at' => '2023-10-11 14:16:29',
                'deleted_at' => NULL,
                'settings' => '',
            ),
            3 => 
            array (
                'id' => '9',
                'magento_question_id' => NULL,
                'old_id' => '0',
                'form_id' => '5',
                'question_type' => 'section',
                'question_text' => '<p>Your health</p>',
                'variations' => '',
                'clearall_answer' => '',
                'is_multiple' => '0',
                'block_if' => '',
                'alert_if' => '',
                'okay_if' => '',
                'cant_proceed_if' => '',
                'show_if_question' => '0',
                'show_if_answer' => '',
                'answer_expires_after_days' => '0',
                'is_required' => '0',
                'is_active' => '1',
                'sort' => '6',
                'created_at' => '2023-10-11 12:16:12',
                'updated_at' => '2023-10-11 14:17:30',
                'deleted_at' => NULL,
                'settings' => '',
            ),
            4 => 
            array (
                'id' => '10',
                'magento_question_id' => NULL,
                'old_id' => '0',
                'form_id' => '5',
                'question_type' => 'yes',
                'question_text' => '<p>Please confirm you have answers all questions as honestly as you can.</p>',
                'variations' => '',
                'clearall_answer' => '',
                'is_multiple' => '0',
                'block_if' => '',
                'alert_if' => '',
                'okay_if' => '',
                'cant_proceed_if' => '',
                'show_if_question' => '0',
                'show_if_answer' => '',
                'answer_expires_after_days' => '0',
                'is_required' => '1',
                'is_active' => '1',
                'sort' => '7',
                'created_at' => '2023-10-11 12:17:14',
                'updated_at' => '2023-10-11 14:17:30',
                'deleted_at' => NULL,
                'settings' => '',
            ),
            5 => 
            array (
                'id' => '11',
                'magento_question_id' => NULL,
                'old_id' => '0',
                'form_id' => '5',
                'question_type' => 'variations',
                'question_text' => '<p>Example Variations</p>',
                'variations' => '["Choice 1","Choice 2","Choice 3"]',
                'clearall_answer' => '',
                'is_multiple' => '0',
                'block_if' => '',
                'alert_if' => '',
                'okay_if' => '',
                'cant_proceed_if' => '',
                'show_if_question' => '0',
                'show_if_answer' => '',
                'answer_expires_after_days' => '0',
                'is_required' => '0',
                'is_active' => '1',
                'sort' => '3',
                'created_at' => '2023-10-11 14:13:59',
                'updated_at' => '2023-10-11 14:17:30',
                'deleted_at' => NULL,
                'settings' => '',
            ),
            6 => 
            array (
                'id' => '12',
                'magento_question_id' => NULL,
                'old_id' => '0',
                'form_id' => '5',
                'question_type' => 'variations',
                'question_text' => '<p>Example select box question</p>',
                'variations' => '["Choice 1","Choice 2","Choice 3","Choice 4","Choice 5","Choice 6"]',
                'clearall_answer' => '',
                'is_multiple' => '0',
                'block_if' => '',
                'alert_if' => '',
                'okay_if' => '',
                'cant_proceed_if' => '',
                'show_if_question' => '0',
                'show_if_answer' => '',
                'answer_expires_after_days' => '0',
                'is_required' => '0',
                'is_active' => '1',
                'sort' => '4',
                'created_at' => '2023-10-11 14:15:09',
                'updated_at' => '2023-10-11 14:17:30',
                'deleted_at' => NULL,
                'settings' => '',
            ),
            7 => 
            array (
                'id' => '13',
                'magento_question_id' => NULL,
                'old_id' => '0',
                'form_id' => '5',
                'question_type' => 'textarea',
                'question_text' => '<p>Example&nbsp;Text field</p>',
                'variations' => '',
                'clearall_answer' => '',
                'is_multiple' => '0',
                'block_if' => '',
                'alert_if' => '',
                'okay_if' => '',
                'cant_proceed_if' => '',
                'show_if_question' => '0',
                'show_if_answer' => '',
                'answer_expires_after_days' => '0',
                'is_required' => '0',
                'is_active' => '1',
                'sort' => '5',
                'created_at' => '2023-10-11 14:17:17',
                'updated_at' => '2023-10-11 14:17:30',
                'deleted_at' => NULL,
                'settings' => '',
            ),
        ));
        
        
    }
}