function ad_text_update_1 in Advertisement 5
Same name and namespace in other branches
- 5.2 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;
}