You are here

function forena_update_7301 in Forena Reports 7.3

File

./forena.install, line 119
Installation api for module

Code

function forena_update_7301() {
  if (!db_field_exists('forena_reports', 'path')) {
    db_add_field('forena_reports', 'path', array(
      'type' => 'varchar',
      'length' => 255,
    ));
    db_add_index('forena_reports', 'path', array(
      'path',
    ));
  }
}