You are here

function cpn_update_6000 in Code per Node 6

Adds fields in blocks table.

File

./cpn.install, line 127
Installation, schema and update hook implementations.

Code

function cpn_update_6000() {
  $ret = array();
  db_add_field($ret, 'blocks', 'css', array(
    'type' => 'text',
    'not null' => FALSE,
  ));
  db_add_field($ret, 'blocks', 'js', array(
    'type' => 'text',
    'not null' => FALSE,
  ));
  return $ret;
}