You are here

function kaltura_update_7303 in Kaltura 7.3

Add new entity property - Categories.

File

./kaltura.install, line 382
Installation process for kaltura core module.

Code

function kaltura_update_7303() {
  $spec = array(
    'description' => 'Categories the media belongs to',
    'type' => 'text',
    'default' => NULL,
    'not null' => FALSE,
  );
  db_add_field('node_kaltura', 'categories', $spec);

  // Unset the timestamp of last imported entries so next cron run will also
  // fetch categories.
  variable_del('kaltura_last_imported');
}