Location: PHPKode > projects > Esvon Personals > esvon-personals/upgrades/v4_to_v4_09/upgrade407-408.php
<?php

// File to upgrade Esvon Classifieds from 4.0.7 to 4.0.8
// After use this, you can delete it

//*********************************************

define('DB_UPGRADE', 1);

if(!defined('SITE_PATH')){
  if(!file_exists('./inc/application.php')) die("File Not Found: application.php");
  require_once './inc/application.php';
}

if(hwModGetState('CSV_Import')){
  mysql_query('ALTER TABLE '.TBL_AD.' MODIFY hw_csv_imported varchar(255) NOT NULL');
}

if(hwModGetState('Editors')){
  mysql_query('ALTER TABLE '.hwModTable('Editors','user').' ADD regions text NOT NULL');
}

echo 'Esvon Classifieds Tables Updated, Ok.. ('.basename(__FILE__).')';

?>
Return current item: Esvon Personals