<?php
db_insert('role')
->fields(array(
'rid',
'name',
'weight',
))
->values(array(
'rid' => '4',
'name' => 'Normal role',
'weight' => '3',
))
->values(array(
'rid' => '5',
'name' => 'Admin role',
'weight' => '4',
))
->execute();
db_insert('role_permission')
->fields(array(
'rid',
'permission',
'module',
))
->values(array(
'rid' => '5',
'permission' => 'administer comments',
'module' => 'comment',
))
->values(array(
'rid' => '5',
'permission' => 'administer content types',
'module' => 'node',
))
->values(array(
'rid' => '5',
'permission' => 'administer users',
'module' => 'user',
))
->values(array(
'rid' => '5',
'permission' => 'administer taxonomy',
'module' => 'taxonomy',
))
->execute();