function privatemsg_update_6200 in Privatemsg 6.2
Add {pm_disable} table.
File
- ./
privatemsg.install, line 540 - Install file for privatemsg.module
Code
function privatemsg_update_6200() {
$ret = array();
$schema['pm_disable'] = array(
'description' => '{pm_disable} holds the list of users that have disabled private messaging',
'fields' => array(
'uid' => array(
'description' => 'ID of the user',
'type' => 'int',
'not null' => TRUE,
'unsigned' => TRUE,
),
),
'primary key' => array(
'uid',
),
);
if (!db_table_exists('pm_disable')) {
db_create_table($ret, 'pm_disable', $schema['pm_disable']);
}
return $ret;
}