function phpAds_upgradeData()
{
    // Split banners into two tables and
    // generate banner html cache
    phpAds_upgradeSplitBanners();
    // Detect version of needed plugins
    phpAds_upgradeDetectPluginVersion();
    // Upgrade append type to zones when possible
    phpAds_upgradeAppendZones();
    // Upgrade append type to zones when possible
    phpAds_upgradeDisplayLimitations();
    // Split out Campaign and Advertiser information
    phpAds_upgradeSplitClientTable();
    phpAds_upgradeSplitClientTableBanners();
    phpAds_upgradeSplitClientTableTargetStats();
    phpAds_upgradeSplitClientTableZone();
    // Make sure that a date and hour are in the stats generation columns
    phpAds_upgradeHourlyStats();
    // Create target stats form userlog
    phpAds_upgradeTargetStats();
    // Update the password to MD5 hashes
    phpAds_upgradePasswordMD5();
}
function phpAds_upgradeData()
{
    // Split banners into two tables and
    // generate banner html cache
    phpAds_upgradeSplitBanners();
    // Detect version of needed plugins
    phpAds_upgradeDetectPluginVersion();
    // Upgrade append type to zones when possible
    phpAds_upgradeAppendZones();
    // Upgrade append type to zones when possible
    phpAds_upgradeDisplayLimitations();
    // Create target stats form userlog
    phpAds_upgradeTargetStats();
    // Update the password to MD5 hashes
    phpAds_upgradePasswordMD5();
    // Update template of SWF banners
    phpAds_upgradeTransparentSWF();
}