function block_inject_update_7101 in Block Inject 7
Creates the block_inject_exceptions table
File
- ./
block_inject.install, line 101 - Schema function for the Block Inject table *
Code
function block_inject_update_7101() {
$table = array(
'description' => 'The exceptions table.',
'fields' => array(
'id' => array(
'description' => 'The id',
'type' => 'serial',
'length' => 5,
'not null' => TRUE,
'unsigned' => TRUE,
),
'bi_id' => array(
'description' => 'The block_inject region ID',
'type' => 'int',
'length' => 2,
),
'nid' => array(
'description' => 'The block_inject region ID',
'type' => 'int',
'length' => 5,
),
),
'primary key' => array(
'id',
),
);
db_create_table('block_inject_exceptions', $table);
}