public function seed()
    {
        DB::table('permissions')->insert(array(
            array(
                'name' => 'Admin',
                'permissions' => json_encode(array('cpanel.view')),
                'created_at' => new \DateTime,
                'updated_at' => new \DateTime
            ),
            array(
                'name' => 'Users',
                'permissions' => json_encode(array('users.view','users.create','users.update','users.delete')),
                'created_at' => new \DateTime,
                'updated_at' => new \DateTime
            ),
            array(
                'name' => 'Groups',
                'permissions' => json_encode(array('groups.view','groups.create','groups.update','groups.delete')),
                'created_at' => new \DateTime,
                'updated_at' => new \DateTime
            ),
            array(
                'name' => 'Permissions',
                'permissions' => json_encode(array('permissions.view','permissions.create','permissions.update','permissions.delete')),
                'created_at' => new \DateTime,
                'updated_at' => new \DateTime
            )
        ));


    }