You are here

function block_inject_update_7102 in Block Inject 7

Updates the block_inject_exceptions table to add 2 new columns: status of the injection expception and the offset

File

./block_inject.install, line 131
Schema function for the Block Inject table *

Code

function block_inject_update_7102() {
  $exception_status_field = array(
    'description' => 'The status of the exception',
    'type' => 'int',
    'length' => 1,
  );
  $offset_field = array(
    'description' => 'Offset for the injecton',
    'type' => 'int',
    'length' => 1,
  );
  db_add_field('block_inject_exceptions', 'except_injection', $exception_status_field, $keys_new = array());
  db_add_field('block_inject_exceptions', 'offset', $offset_field, $keys_new = array());
}