You are here

function ad_text_update_1 in Advertisement 5.2

Same name and namespace in other branches
  1. 5 text/ad_text.install \ad_text_update_1()

Convert to utf8 character set for all tables to allow for proper internationalization.

File

text/ad_text.install, line 64

Code

function ad_text_update_1() {
  $ret = array();
  switch ($GLOBALS['db_type']) {
    case 'pgsql':
      break;
    default:
      $ret[] = update_sql("ALTER TABLE {ad_text} CONVERT TO CHARACTER SET utf8");
  }
  return $ret;
}