function feedapi_update_1 in FeedAPI 5
File
- ./
feedapi.install, line 92
Code
function feedapi_update_1() {
$ret = array();
switch ($GLOBALS['db_type']) {
case 'mysqli':
case 'mysql':
$ret[] = update_sql("ALTER TABLE {feedapi}\n DROP COLUMN refresh,\n ADD COLUMN statistics longtext,\n ADD COLUMN half_done tinyint\n ");
break;
case 'pgsql':
$ret[] = update_sql("ALTER TABLE {feedapi}\n DROP COLUMN refresh,\n ADD COLUMN statistics text,\n ADD COLUMN half_done smallint\n ");
}
variable_del("feedapi_cron_max");
variable_del("feedapi_refresh_once");
return $ret;
}