src/migrations/2013_06_16_144920_create_permissions_table.php
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
            )
        ));


    }
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
            )
        ));


    }
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 ) ) ) ; }
Create default Permissions

@author Steve Montambeault
@link   http://stevemo.ca

@return void
Create default Permissions