You are here

function kaltura_update_6000 in Kaltura 6

Same name and namespace in other branches
  1. 6.2 kaltura.install \kaltura_update_6000()

Expand node_kaltura nid/vid columns to full-sized int fields.

File

./kaltura.install, line 251

Code

function kaltura_update_6000() {
  $ret = array();
  $new_field = array(
    'type' => 'int',
    'unsigned' => TRUE,
    'not null' => TRUE,
  );
  db_change_field($ret, 'node_kaltura', 'nid', 'nid', $new_field);
  db_change_field($ret, 'node_kaltura', 'vid', 'vid', $new_field);
  return $ret;
}