<?php

namespace Database\Seeders;

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

class ModuleTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        DB::statement('SET FOREIGN_KEY_CHECKS=0;');
        DB::table('modules')->truncate();

        DB::statement("INSERT INTO modules (id, name, description) VALUES
			(1, 'Users', 'This will allow you to manage the user accounts.'),
            (2, 'Roles', 'This will allow you to manage the roles of the users.'),
            (3, 'Permissions', 'This will allow you to manage the permissions of the roles.'),
            (4, 'Professions', 'This will allow you to manage the professions.'),
            (5, 'Taglines', 'This will allow you to manage the taglines.'),
            (6, 'Professionals', 'This will allow you to manage the professionals.'),
            (7, 'Disbursement', 'This will allow you to manage the disbursement.'),
            (8, 'Fees', 'This will allow you to manage the standard fees.')
		");

        DB::statement('SET FOREIGN_KEY_CHECKS=1;');
    }
}
