You are here

function biblio_update_27 in Bibliography Module 6

Same name and namespace in other branches
  1. 5 biblio.install \biblio_update_27()
  2. 6.2 biblio.install \biblio_update_27()

File

./biblio.install, line 1366
Install file for biblio module

Code

function biblio_update_27() {
  global $db_type;
  $result = array();
  if ($db_type == 'pgsql') {
    $result[] = update_sql("ALTER TABLE {biblio_fields}  ALTER COLUMN hint TYPE varchar(255);");
  }
  else {
    $result[] = update_sql("ALTER TABLE {biblio_fields}  MODIFY hint varchar(255);");
  }
  return $result;
}