function currency_api_update_1 in Currency 5
Same name and namespace in other branches
- 6 currency_api/currency_api.install \currency_api_update_1()
File
- currency_api/
currency_api.install, line 44
Code
function currency_api_update_1() {
$ret = array();
switch ($GLOBALS['db_type']) {
case 'mysqli':
case 'mysql':
$ret[] = update_sql("ALTER TABLE {currencyapi} CHANGE timestamp timestamp int NOT NULL default '0'");
break;
case 'pgsql':
break;
}
return $ret;
}