* How to upgrade from v0.3.0 to v0.4.0 ?

 The version 0.4.0 do not introduce changes on the database structure
 If you run a v0.1 version please apply the next chapter to upgrade from 0.1 to 0.2
 To improve performances several indexes has been set on tables. To apply them on existing
 database, follow the procedure :
 - log into the mysql client as root (or any user which can perform table modification on the database)
   > alter table logs ADD INDEX LOGS_DATE_INDEX (date);
   > alter table logs ADD INDEX LOGS_PORT_DEST_INDEX (port_dest);
   > alter table logs ADD INDEX LOGS_IP_SRC_INDEX (ip_src);
   > alter table logs ADD INDEX LOGS_CHAIN_INDEX (chain);
   > alter table logs ADD INDEX LOGS_DATE_CHAIN_PORT_DEST_INDEX (date,chain,port_dest);
   > alter table logs ADD INDEX PORTS_PORT_INDEX (port);
   > alter table logs ADD INDEX PORTS_PORT_PROTO_INDEX (port,proto);
 Read the INSTALL file to upgrade .php files and .pl file.

* How to upgrade from v0.2.0 to v0.3.0 ?

 The version 0.3.0 do not introduce changes on the database structure so
 if you run a v0.1 version please apply the next chapter to upgrade from 0.1 to 0.2
 Read the install file to upgrade .php files and .pl file.

* How to upgrade from v0.1.0 to v0.2.0 ?

 The version 0.2.0 introduces a new column in the database (chain)
 If you do not care to keep the already stored packets, just drop the database and follow the 
 intructions in the INSTALL file.
 If you want to keep the data already acquired, install the new version according to the instruction
 in the INSTALL file but do not perform the database creation steps but do the following actions :
 
  - first stop the feed_db.pl process
  - log into the mysql client as root (or any user which can perform table modification on the database)
  - execute the request :
      > alter table logs add chain varchar(50) not null default 'DROP' after date;
  - the new column is created
  - restart the *new* feed_db.pl (v0.2.0)
