Newer
Older
The Great Git Migration
committed
<?php
// $Id$
/**
* @file
* Install file for pm_block_user.module
*/
The Great Git Migration
committed
function pm_block_user_schema() {
The Great Git Migration
committed
$schema['pm_block_user'] = array(
'description' => '{pm_block_user} holds data mapping which authors who cannot messages to which recipients ',
The Great Git Migration
committed
'fields' => array(
'author' => array(
'description' => 'ID of the author',
The Great Git Migration
committed
'type' => 'int',
'not null' => TRUE,
'unsigned' => TRUE,
),
'recipient' => array(
'description' => 'ID of the recipient',
The Great Git Migration
committed
'type' => 'int',
'not null' => TRUE,
'unsigned' => TRUE,
),
),
);
The Great Git Migration
committed
return $schema;
}
function pm_block_user_install() {
drupal_install_schema('pm_block_user');
The Great Git Migration
committed
}
function pm_block_user_uninstall() {
drupal_uninstall_schema('pm_block_user');
}