You are here

function flashnode_update_6001 in Flash Node 6.2

Same name and namespace in other branches
  1. 6.3 flashnode.install \flashnode_update_6001()

Add 'params' column in order to support parameters associated with flash nodes

File

./flashnode.install, line 196

Code

function flashnode_update_6001() {

  // Initialise array for results
  $ret = array();

  // Add the parameters field
  db_add_field($ret, 'flashnode', 'params', array(
    'description' => t('Parameters to pass to the Flash player.'),
    'type' => 'varchar',
    'length' => '255',
    'not null' => TRUE,
  ));

  // Return results
  return $ret;
}