You are here

function biblio_update_27 in Bibliography Module 6.2

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

Update ...

File

./biblio.install, line 1854
Install, update, and uninstall functions for the 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;
}