You are here

function feedapi_update_2 in FeedAPI 5

File

./feedapi.install, line 115

Code

function feedapi_update_2() {
  $ret = array();
  switch ($GLOBALS['db_type']) {
    case 'mysqli':
    case 'mysql':
      $ret[] = update_sql("ALTER TABLE {feedapi}\n        ADD COLUMN update_existing tinyint default '1'\n      ");
      break;
    case 'pgsql':
      $ret[] = update_sql("ALTER TABLE {feedapi}\n        ADD COLUMN update_existing smallint default '1'\n      ");
  }
  return $ret;
}