<?php

use Carbon\Carbon;

class BackendPermissionsGroupsSeeder extends Seeder
{

    private $table = 'backend_permissions_groups';

    public function run()
    {
        DB::table($this->table)->delete();

        $now = Carbon::now();

        $res = DB::table($this->table)->insert(
            [
                [
                    'id'         => 1,
                    'name'       => 'BO Users and Permissions',
                    'position'   => 2,
                    'created_at' => $now,
                ],
                [
                    'id'         => 2,
                    'name'       => 'CMS',
                    'position'   => 1,
                    'created_at' => $now,
                ]
            ]
        );

    }

}
